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.
See the examples.
The recommended way to install this library is through composer. New to composer?
{
"require": {
"clue/sse-react": "dev-master"
}
}
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
MIT