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.
Adopt if:
yield/await-style code) over Promises/callbacks.Look elsewhere if:
*"Revolt is a high-performance event loop that lets us handle 10x more concurrent users in PHP without rewriting our entire stack. By leveraging PHP 8.1’s native fibers, we avoid the complexity of callbacks or coroutines while keeping code familiar. This directly enables:
event-loop for PHP—but built for PHP’s strengths. We’re not betting on a framework; we’re future-proofing our concurrency layer."**"Revolt gives us a rock-solid event loop for PHP 8.1+ that:
yield instead of Promises).sleep()/file_get_contents() bottlenecks.
Avoid for:*"Revolt’s event loop is a strategic foundation for:
EventLoop::isEnabled()).
Migration path:file_get_contents() → Revolt\EventLoop\Suspension)."*How can I help you explore Laravel packages today?