Broadcasting sends server-side events to the browser in real time using drivers like Pusher, Ably, or Laravel Reverb (a first-party WebSocket server). Events implement ShouldBroadcast and specify broadcastOn() channels, which the frontend subscribes to using Laravel Echo. Private and presence channels add authorization checks for who can listen.
← Laravel theorytheory 0/50 · 0%
Async · medium
35. Events, Broadcasting & WebSockets
Real-time updates from server events.
Check your understanding
1. What interface marks an event for broadcasting?
2. What is Laravel Reverb?