💾 Archived View for yggverse.cities.yesterweb.org › nps › nps-php › 1.0.0.gmi captured on 2024-08-18 at 17:19:24. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-10)

-=-=-=-=-=-=-

nps-php 1.0.0

Initial stable release!

Includes Server class to build interactive applications

Example

$server = new \Yggverse\Nps\Server;

$server->start(
    function (
        string $content,
        string $request,
        string $connect
    ) {
        printf(
            'connection: %s request: %s',
            $connect,
            $request
        );

        var_dump(
            $content
        );
    }
);

Links

Download nps-php 1.0.0