echo-development

Configure Laravel real-time broadcasting with Reverb, Pusher, or Ably.

2|Updated Mar 3, 2025
One-click install
npx skills add https://github.com/dspangenberg/opsc --skill echo-development-dspangenberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: echo-development
Source: https://github.com/dspangenberg/opsc/tree/main/.junie/skills/echo-development
Command: npx skills add https://github.com/dspangenberg/opsc --skill echo-development-dspangenberg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you build and troubleshoot Laravel real-time broadcasting so events, notifications, and live UI updates reach clients reliably without guesswork.

Core Features & Use Cases

  • Broadcast Setup: Configure Reverb, Pusher, Ably, or logging and null drivers for development and testing.
  • Event Design: Create broadcastable events, choose the right broadcast interface, and customize payloads and queue behavior.
  • Channel Authorization: Define public, private, and presence channels with the right authorization strategy for secure access.
  • Client Integration: Set up Laravel Echo, subscribe to channels, listen for events, and use whispers or notifications for interactive experiences.
  • Use Case: A team building a live order dashboard can broadcast order status changes, authorize customer-specific channels, and keep the interface updated in real time.

Quick Start

Ask for help configuring Laravel Echo broadcasting for your app, including the event, channel, and client setup needed for secure real-time updates.

Frequently Asked Questions about echo-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Laravel real-time broadcasting with Echo and Reverb?

Laravel real-time broadcasting requires configuring broadcast events, defining channel routes, setting up the Echo client, and running queue or Reverb processes. You must also apply driver-specific environment settings for Reverb, Pusher, or Ably to deliver live updates reliably.

What are presence channels in Laravel Echo and when do I need them?

Presence channels in Laravel Echo are private channels that expose who is currently subscribed, making them necessary when building interactive experiences like a live order dashboard where tracking active users alongside secure data access is required.

Can I use this to authorize private channels and send notifications in Laravel?

Yes, this supports defining public, private, and presence channels with the right authorization strategy. It also covers configuring client whispers and notifications to ensure secure access and interactive real-time UI updates.

Does Laravel broadcasting work with Pusher and Ably drivers?

Laravel broadcasting works with Reverb, Pusher, and Ably drivers. It also supports logging and null drivers, which are useful for development and testing when you need to simulate or disable real-time event broadcasting workflows.

Why are my Laravel broadcast events not reaching the frontend client?

Broadcast events may fail to reach the client if Echo configuration is incorrect, queue or Reverb processes are not running, or driver-specific environment settings are missing. Troubleshooting requires verifying event payloads, channel authorization, and client subscription setup.

Do I need a queue worker to broadcast model events in Laravel?

Yes, you typically need a queue worker or Reverb process running to handle model broadcasting workflows. Configuring queue behavior and broadcastable events correctly ensures that real-time updates reach clients without blocking application execution.