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