revolt/event-loop
Revolt is a rock-solid event loop for concurrent PHP 8.1+ apps using fibers. It enables non-blocking I/O with synchronous code, serving as a minimal, shared scheduler base for libraries like Amp and ReactPHP.
Revolt enables critical real-time and high-concurrency features like WebSocket servers, API gateways, and microservices that require non-blocking I/O. As a PM, this supports roadmap initiatives for scalable real-time capabilities without relying on external services (e.g., Pusher or Firebase). It’s a "build" decision for core infrastructure—leveraging a battle-tested, low-level event loop avoids reinventing the wheel while integrating seamlessly with Amp/ReactPHP ecosystems. For projects needing to handle thousands of simultaneous connections (e.g., live analytics dashboards or chat systems), it eliminates the need for complex queue-based workarounds in traditional Laravel apps, directly reducing infrastructure costs and latency.
Adopt when building custom high-performance services requiring native PHP concurrency (e.g., real-time data streaming, low-latency microservices, or protocol-specific servers) on PHP 8.1+. Ideal for teams with expertise in async patterns or when integrating with fiber-based libraries. Avoid for standard CRUD applications where Laravel’s queue system or Horizon suffices, if PHP <8.1 is required,
How can I help you explore Laravel packages today?