Real-time for Laravel without Pusher bills or a PHP process to babysit.
One 20 MB binary that speaks the Pusher protocol. Point Laravel at it and broadcasting just works.
Quick start · Laravel guide · Dashboard · Benchmarks · Docs
- Drop-in for Reverb and Pusher. Laravel's own
reverbandpusherbroadcasters, Laravel Echo and every Pusher SDK work unchanged. No package to install, no code to change. - One binary, nothing else. No PHP worker, no Node.js, no database.
docker runand you are live. - Fast and frugal. 100,000 concurrent connections in 3.3 GB of RAM; 160,000 messages per second with a p99 latency of 3 ms on one instance. Benchmarks
- A dashboard you will actually use. Live debug console, presence members, test events, connections you can disconnect. Built in, works offline.
- Proven, not promised. Every change runs a real Laravel 12 and 13 app with laravel-echo and pusher-js through WSBro, on both broadcasters.
docker run -d --name wsbro -p 6001:6001 \
-e WSBRO_APP_ID=my-app \
-e WSBRO_APP_KEY=my-key \
-e WSBRO_APP_SECRET=my-secret \
-e WSBRO_DASHBOARD_PASSWORD=change-me \
ghcr.io/axvilab/wsbroOr without Docker: download a binary from Releases, or
go install github.com/axvilab/wsbro@latest.
The dashboard is at http://localhost:6001/dashboard.
Already on Reverb? Keep your code and your .env, just stop running php artisan reverb:start and point
REVERB_HOST / REVERB_PORT at WSBro:
BROADCAST_CONNECTION=reverb
REVERB_APP_ID=my-app
REVERB_APP_KEY=my-key
REVERB_APP_SECRET=my-secret
REVERB_HOST=127.0.0.1
REVERB_PORT=6001
REVERB_SCHEME=httpEverything works as with Reverb or Pusher:
broadcast(new OrderShipped($order))->toOthers();Echo.private(`App.Models.User.${userId}`).listen('.order.shipped', (e) => { /* ... */ });
Echo.join('chat')
.here((users) => {})
.joining((user) => {})
.leaving((user) => {})
.listenForWhisper('typing', (e) => {});Prefer the Pusher broadcaster, or setting up from scratch? See the Laravel guide.
| Pusher protocol 7 | public, private, presence, encrypted and cache channels; client events (whisper); user authentication, sendToUser and terminate connections |
| Pusher HTTP API | trigger, batch, channel info and presence users, signed exactly like Pusher (replay-safe body_md5 check) |
| Webhooks | channel_occupied, channel_vacated, member_added, member_removed in the Pusher format, verifiable with the official SDKs |
| Multi-app | many apps on one server, fully isolated, each with its own limits, allowed origins and webhook |
| Protection | connection, message rate, channel and payload limits; allowed origins; slow and dead clients dropped without affecting others |
| Scaling | Redis or NATS to run several instances; graceful shutdown hands clients over |
| Observability | dashboard with a live debug console, JSON and Prometheus metrics, JSON logs, health endpoint |
| Operations | TLS, 20 MB multi-arch image running as non-root, systemd-friendly binary, strict configuration validation |
| Presence members, live activity and test events per channel | Debug console: every connection, subscription and event, live |
Enable it with WSBRO_DASHBOARD_PASSWORD. More about the dashboard.
| WSBro | Laravel Reverb | Soketi | Sockudo | |
|---|---|---|---|---|
| Runs as | single Go binary | PHP process (artisan reverb:start) |
Node.js | single Rust binary |
| Pusher protocol | ✅ | ✅ | ✅ | ✅ |
Works with Laravel's reverb broadcaster |
✅ | ✅ | ✅ | ✅ |
| Dashboard | built in, with live debug console | via Laravel Pulse cards | — | separate service |
| Scaling | Redis, NATS | Redis | Redis, NATS, cluster | many brokers |
| Focus | small, simple, Laravel-first | Laravel's official solution | general purpose | feature-rich platform |
All of them are good projects. WSBro is for teams that want Reverb's compatibility without running PHP for WebSockets, and the smallest possible thing to deploy and understand.
| Laravel | Reverb drop-in, Pusher broadcaster, webhooks, troubleshooting |
| Configuration | every environment variable, multiple apps |
| Channels | channel types, presence, client events, cache and user channels |
| Deployment | Docker, systemd, Nginx and Caddy with TLS, monitoring, production checklist |
| Scaling | one big instance, Redis and NATS, what is shared between instances |
| Webhooks | events, format and signature verification |
| Dashboard | pages and security |
| API | HTTP API, WebSocket protocol, error codes |
| Benchmarks | numbers and how to reproduce them |
- Shared presence state across instances (exact
here()lists and channel counts with Redis) - Ready-made Helm chart
- Webhook retries with back-off
- Subscription count events (
pusher:subscription_count)
Ideas and pull requests are welcome, see CONTRIBUTING.md.
Curious about Rust? I wrote two books for Laravel developers: Rust for Laravel Developers and Loco for Laravel Developers. More tools and posts on axvi.dev.
MIT © AxViLab