hosmelq / sse
Consume Server-Sent Events (SSE) streams in PHP with Guzzle.
v1.0.0
2026-11-16 17:10 UTC
Requires
- php: ^8.4
- guzzlehttp/guzzle: ^7.15.2 || ^8.5.0
- guzzlehttp/psr7: ^2.13.0 || ^3.4.0
- psr/http-message: ^1.1 || ^2.0
- thecodingmachine/safe: ^3.4.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.57.0
- hosmelq/php-coding-standard: ^1.5.0
- pestphp/pest: ^5.3.6
- pestphp/pest-plugin-agent: ^5.0.0
- pestphp/pest-plugin-rector: ^5.0.6
- shipmonk/composer-dependency-analyser: ^1.8.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
PHP SSE consumes Server-Sent Events (SSE) streams with Guzzle, yielding each event as the server sends it.
composer require hosmelq/sse
Read the full documentation.
Development
Run the test suite with:
composer test
Changelog
See CHANGELOG.md for a list of changes.
Contributing
Pull requests are welcome. Please run the test suite before submitting changes.
License
The MIT License (MIT). Please see License File for more information.