clue/sse-react

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

Maintainers

πŸ‘ clue

Package info

github.com/clue/php-sse-react

pkg:composer/clue/sse-react

Statistics

Installs: 14 054

Dependents: 0

Suggesters: 0

Stars: 60

Open Issues: 0

dev-master 2024-07-04 08:05 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 4a443f1fa0031798dd93e302bf5088197a9ccb36

  • Christian LΓΌck <christian.woop@lueck.tv>

asyncevent-driveneventsourcereactphpsseServer-Sent Events

This package is auto-updated.

Last update: 2026-06-04 12:44:58 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": {
 "clue/sse-react": "dev-master"
 }
}

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.