Resonate is a fiber-based replacement for Laravel Reverb, built on webpatser/fledge-fiber and PHP 8.6. This documentation covers release v1.5.0 of the 1.x line.
The wire protocol, REST API and config schema are byte-compatible with Laravel Reverb. Resonate reads your existing config/reverb.php, so Echo, pusher-js and your broadcasting setup keep working.
Why
Reverb is already async, but it pulls in its own ReactPHP, Ratchet and Redis client stack. Resonate moves the runtime onto Fledge: webpatser/fledge-loop and webpatser/fledge-fiber, the same async stack used by webpatser/torque and webpatser/laravel-resp3-cache.
- PHP 8.6 only. No polyfills, no
version_compareguards, native URI parser, nativearray_allandarray_any. - One async runtime per app. Fledge's HTTP server provides HTTP/2 and shares the loop with the rest of your async work.
- Fiber ergonomics. Channel auth, application providers and pub/sub callbacks read like synchronous code but yield on I/O. A custom auth backend can query a database or call an HTTP API without blocking the tick.
What is in the box
- The Pusher protocol and the Pusher-compatible REST API.
- Four artisan commands:
resonate:install,resonate:start,resonate:restartandresonate:reload. - Zero-downtime reload through
SO_REUSEPORT. - Horizontal scaling over Redis pub/sub.
- A server-side plugin API for timers, custom message types and connection bookkeeping inside the server process.
- Nine first-party packages (seven server plugins, plus the Pulse cards and the Laravel-side channel meter), each documented on its own page under Plugins.
Optional integrations: when laravel/pulse is installed, Resonate registers the reverb.connections and reverb.messages Livewire dashboard components automatically. laravel/telescope gets entry storage for connections, channels and messages.
Requirements
- PHP
^8.6 - Laravel
^13.0
Resonate supports only the latest stable PHP release. When a new PHP version is released, the next release of the package requires it and support for the previous PHP version ends. The current version is PHP 8.6.
Where to go next
- Installation: new install, or swap from
laravel/reverb. - Quick start: run the server and send a first event.
- Configuration: servers, applications, limits and environment variables.
Acknowledgements
Resonate is a clean-room port of laravel/reverb (MIT). Several files, notably the Pusher protocol layer and the Pulse dashboard cards, are direct ports of Reverb's MIT-licensed code. The LICENSE.md in the repository has the full attribution.