funkyoz/event-source
A Laravel event sourcing package for persisting domain events, rebuilding aggregates, and projecting read models. It provides building blocks to model state changes as an append-only event stream with clean, framework-friendly APIs.
This baseline assessment is based on the 2.0.1 release notes; validate against package source/docs before production adoption. The release indicates the package provides event-stream/server-sent-event style responses in Laravel/PHP. 2.0.1 is patch-level but includes a behavioral fix: nested output buffers no longer hold events until the stream ends. The package now flushes and closes output buffers when the stream starts, matching Symfony’s EventStreamResponse, while leaving unflushable buffers alone and preserving CLI buffers for test capture.
output_buffering, nested ob_start()). However, output-buffer manipulation is cross-cutting and must be validated against Laravel middleware, compression, debug tooling, and error handling.zlib.output_compression, Nginx proxy buffering, and CDN buffering? Is the buffer-lifecycle change documented as an upgrade consideration? Are nested-buffer and unflushable-buffer cases covered by tests? What are the package’s reconnect, event ID, and backpressure capabilities?ob_start(), rely on output buffering, or enable compression. Add regression tests with output_buffering=On, nested ob_start(), and an unflushable buffer such as ob_start(null, 0, 0).ob_flush() notices from unflushable buffers. Remaining risks include middleware/buffer corruption, proxy or compression buffering, long-stream memory growth, client reconnect storms, and environment-specific differences between CLI and web execution.How can I help you explore Laravel packages today?