Laravel Reverb: First-Party WebSocket Server Now Stable

Laravel Reverb: First-Party WebSocket Server Now Stable

Laravel Reverb: First-Party WebSocket Server Now Stable

Laravel Reverb — the framework's native WebSocket server — has graduated from beta and is now considered production-ready. Reverb allows Laravel applications to broadcast real-time events without relying on third-party services like Pusher.

Key Features

  • Built on ReactPHP for high-performance async I/O
  • Native integration with Laravel's broadcasting system
  • Horizontal scaling via Redis pub/sub
  • Compatible with any front-end using the Pusher JS SDK

Getting Started

Install Reverb via Artisan:

php artisan install:broadcasting

This installs and configures Reverb automatically. The server is then started with:

php artisan reverb:start

Production Deployment

Reverb can run behind Nginx or Caddy as a reverse proxy. The official documentation includes deployment recipes for common hosting environments including Laravel Forge and Fly.io.

All Comments