clue/sse-react

Streaming, async HTML5 Server-Sent Events server (aka. SSE or EventSource)

dev-master 2017-06-19 13:50 UTC

README

Streaming, async HTML5 Server-Sent Events server (aka. SSE or EventSource), built on top of React PHP.

Note: This project is in early alpha stage! Feel free to report any issues you encounter.

Quickstart example

See the examples.

Install

The recommended way to install this library is through composer. New to composer?

{
    "require": {
        "clue/sse-react": "dev-master"
    }
}

Tests

To run the test suite, you first need to clone this repo and then install all dependencies through Composer:

$ composer install

To run the test suite, go to the project root and run:

$ php vendor/bin/phpunit

License

MIT