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.
EventStreamResponse parity, unflushable buffers) so the team doesn't hand-roll and maintain SSE edge cases.output_buffering plus a framework/plugin ob_start()) directly unblocks "live" features in apps deployed behind buffering middleware or default PHP configs.output_buffering on, plugin-started buffers), lowering the operational risk of shipping streaming features broadly.output_buffering in php.ini, framework or plugin ob_start()—or you standardize on Symfony's EventStreamResponse; the 2.0.1 fixes target exactly these conditions.ob_start(null, 0, 0)) as explicitly unsupported—those buffers are now left alone rather than flushed.For executives: This package lets us ship live, real-time experiences—notifications, progress updates, streaming responses—over standard HTTP, avoiding the cost and complexity of standing up WebSocket infrastructure. Release 2.0.1 is a stability patch: it fixes cases where live events could stall until a stream finished in common hosting configurations, meaning fewer environment-specific bugs and lower operational risk as we roll these features out.
For engineering: Adopt this as the SSE layer rather than building buffering/flush logic in-house. 2.0.1 hardens output-buffer handling to match Symfony's EventStreamResponse: buffers are flushed and closed at stream start in web contexts, CLI buffers are preserved for test capture, and unflushable buffers are now safely ignored instead of emitting ob_flush() notices on every event. Net effect: reliable, timely event delivery across varied deployment configs with less custom code to own.
How can I help you explore Laravel packages today?