reactphp-eventsource

Instant real-time updates. Lightweight EventSource client receiving live messages via HTML5 Server-Sent Events (SSE). Fast stream processing built on top of ReactPHP's event-driven architecture.

MIT License

Downloads
14.5K
Stars
52
Committers
4
reactphp-eventsource - Latest Release

Published by yadaiio 9 months ago

  • Feature / Fix: Forward compatibility with Promise v3.
    (#42 by @clue)

  • Feature: Full PHP 8.3 compatibility.
    (#44 by @yadaiio)

  • Minor documentation improvements.
    (#43 by @yadaiio)

reactphp-eventsource -

Published by clue over 1 year ago

  • Feature: Public MessageEvent constructor and refactor property assignments.
    (#36 and #41 by @clue)

    This is mostly used internally to represent each incoming message event
    (see also message event). Likewise, you can also use this class in test
    cases to test how your application reacts to incoming messages.

    $message = new Clue\React\EventSource\MessageEvent('hello', '42', 'message');
    
    assert($message->data === 'hello');
    assert($message->lastEventId === '42');
    assert($message->type === 'message');
    
  • Feature / Fix: Use replacement character for invalid UTF-8, handle null bytes and ignore empty event type as per EventSource specs.
    (#33 and #40 by @clue)

  • Feature: Full support for PHP 8.2 and update test environment.
    (#38 by @clue)

  • Improve test suite, ensure 100% code coverage and report failed assertions.
    (#35 by @clue and #39 by @clue)

reactphp-eventsource -

Published by clue over 2 years ago

  • First stable release, now following SemVer! 🎉
    Thanks to all the supporters and contributors who helped shape the project!
Package Rankings
Top 5.86% on Packagist.org
Badges
Extracted from project README
CI status code coverage installs on Packagist
Related Projects