laravel-reverb-websockets
Installation
SKILL.md
Laravel Reverb Websockets
When To Use
Use this skill when implementing real-time updates, chat systems, live notifications, or dashboard stat updates using Laravel Reverb and Laravel Echo.
Workflow
- Verify installation: Ensure Reverb configuration exists (
config/reverb.php). - Channel definition: Specify broadcast channels and authorized access rules inside
routes/channels.php. - Configure the Event: Ensure event implements
ShouldBroadcastorShouldBroadcastNow. - Trigger Event: Broadcast the event safely via standard event dispatches.
- Echo Client Integration: Setup frontend Echo client listener bindings for private/presence channels.