Skip to content
Development
Skill

/laravel-reverb

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

From plugin
fusengine-claude-plugins
34200 skills40 agents34 commands

Claude Code

$ npx -y skills add fusengine/claude-plugins --skill laravel-reverb --agent claude-code

SKILL.md

laravel-reverb.SKILL.md
name: laravel-reverb
description: Implement real-time WebSocket communication with Laravel Reverb. Use when adding live updates, chat, notifications, or presence features.
versions:
  laravel: "13.0"
  reverb: "1.12"
  php: "8.3"
user-invocable: false
references: references/channels.md, references/client.md
related-skills: laravel-architecture, laravel-queues

<objective> Covers Laravel Reverb, the first-party WebSocket server, for real-time features: broadcasting events from server to client, public/private/presence channel types and authorization, the Echo client-side listener, ShouldBroadcast queued delivery, and production deployment behind a reverse proxy with SSL. Use for live notifications, chat/messaging, live dashboards, and collaborative-editing whisper events — not for background/async work (that's laravel-queues). </objective>

Laravel Reverb

Agent Workflow (MANDATORY)

Before ANY implementation, spawn 3 agents in parallel, one `Agent` call each with a `name`:

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

| Component | Purpose | |-----------|---------| | **Reverb Server** | First-party WebSocket server for Laravel | | **Broadcasting** | Send events from server to client | | **Channels** | Public, private, presence scoping | | **Echo** | Client-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

| Need | Reference | |------|-----------| | Channel types, authorization | [channels.md](references/channels.md) | | Echo setup, client listeners | [client.md](references/client.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.x (current 1.12) is **Laravel 13 compatible** with no changes. Notes:

  • Broadcast events can be routed via `Queue::route(ShouldBroadcast::class, queue: 'events')` (see [[laravel-queues]])
  • `Context::add()` is propagated automatically into broadcast events
  • PHP: Reverb accepts PHP 8.2+, but Laravel 13 requires PHP 8.3 minimum
  • Alternative: first-party **Mercure** driver (13.32+), installable via `php artisan install:broadcasting` (`--pretend` option in 13.33 to preview)
Read more
@fusengine
Ships withfusengine-claude-plugins

A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.

34200 skills40 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
34
Star history of fusengine/agents on GitHub, a chart by star-history.com

Other skills on fusengine-claude-plugins.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about laravel-reverb.

Which coding agents can use laravel-reverb?
laravel-reverb installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.