rodber/php-sse-react
Streaming, async HTML5 Server-Sent Events server (aka. SSE or EventSource)
Maintainers
Requires
- php: >=7.4
- react/event-loop: ^1.4
- react/http: ^1.9
- react/stream: ^1.3
Requires (Dev)
- clue/redis-react: ^2.4
- phpunit/phpunit: ^9.6 || ^7.5 || ^4.8.36
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT ff8ec18a1a1a9b809ca9b627c6dc4265640c7d13
- Christian LΓΌck <christian.woop@lueck.tv>
- Rodolfo Berrios <rodolfo.woop@chevere.org>
This package is auto-updated.
Last update: 2026-06-08 17:23:24 UTC
README
π CI status
π installs on Packagist
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?
Once released, this project will follow SemVer. At the moment, this will install the latest development version:
{
"require": {
"rodber/php-sse-react": "^0.2"
}
}
This project aims to run on any platform and thus does not require any PHP extensions and supports running on legacy PHP 5.3 through PHP 7.3. It's highly recommended to use the latest supported PHP version for this project.
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, see LICENSE file.
