agentsclimarketplace

Laravel reverb

Skill fusengine/agents/plugins/laravel-expert/skills/laravel-reverb

Implement real-time WebSocket communication with Laravel Reverb. Use when adding live updates, chat, notifications, or presence features.From its SKILL.md

Install
npx -y skills add fusengine/agents --skill laravel-reverb

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, 578 tokens by cl100k_base, as published. Nobody here has run it

Laravel Reverb

Agent Workflow (MANDATORY)

Before ANY implementation, use TeamCreate to spawn 3 agents:

  1. fuse-ai-pilot:explore-codebase - Analyze existing broadcasting patterns
  2. fuse-ai-pilot:research-expert - Verify Reverb docs via Context7
  3. mcp__context7__query-docs - Check WebSocket and event patterns

After implementation, run fuse-ai-pilot:sniper for validation.


Overview

ComponentPurpose
Reverb ServerFirst-party WebSocket server for Laravel
BroadcastingSend events from server to client
ChannelsPublic, private, presence scoping
EchoClient-side event listener

Decision Guide

Need real-time?
├── Live notifications → Reverb + private channel
├── Chat / messaging → Reverb + presence channel
├── Live dashboard → Reverb + public channel
├── Collaborative editing → Reverb + whisper
└── Background tasks → NOT Reverb (use Queues)

Quick Setup

php artisan install:broadcasting
BROADCAST_CONNECTION=reverb
REVERB_APP_ID=my-app
REVERB_APP_KEY=my-key
REVERB_APP_SECRET=my-secret
REVERB_HOST=0.0.0.0
REVERB_PORT=8080

Critical Rules

  1. Use private channels for authenticated data
  2. Authorize channels in routes/channels.php
  3. Use ShouldBroadcast for queued delivery (recommended)
  4. Run Reverb behind Nginx/Caddy in production with SSL

Reference Guide

NeedReference
Channel types, authorizationchannels.md
Echo setup, client listenersclient.md

Best Practices

DO

  • Use ShouldBroadcast with queue for scalability
  • Authorize private and presence channels
  • Use presence channels for user awareness

DON'T

  • Broadcast sensitive data on public channels
  • Forget to configure CORS for cross-origin clients
  • Expose Reverb directly without a reverse proxy

Laravel 13 Notes

Reverb 1.4 est compatible Laravel 13 sans changement. À noter :

  • La queue broadcast profite du nouveau Queue::route() (voir [[laravel-queues]])
  • Context::add() propagé automatiquement dans les broadcast events
  • PHP 8.3 minimum pour le serveur Reverb embarqué

What ships with it: 2 files

3.9 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.