Zubair Akhtar logo — Muhammad Zubair Akhtar, Software Engineer

Blog

Laravel Reverb: When It Fits for Real-Time Features

Laravel Reverb fits when you run the WebSocket server yourself, with Laravel Echo, instead of polling or a hosted Pusher or Ably connection.

Muhammad Zubair Akhtar

Laravel Reverb is Laravel's WebSocket server for real-time features. The browser holds one connection. The server sends a message when an event happens. Polling is the other habit: the browser asks your HTTP app on a timer whether anything changed. Pusher Channels and Ably host that socket for you. Reverb is the socket you run yourself, and Laravel Echo is the JavaScript client that subscribes to it.

I am Zubair Akhtar, a senior software engineer in Lahore, Pakistan. On the Laravel apps I ship, the slow work already sits on a queue. A broadcast is another job on that queue, which is why Laravel Horizon in production is the page for the worker, the timeout, and the deploy restart. A provider calling your URL is a different direction. That receiver is webhooks explained. If you want the socket, the channel rules, and the process manager fitted to an app you already run, that work is Laravel development.

The screen the user is looking at is a separate decision from the socket. Laravel Livewire vs Inertia is that decision. A JSON API the client calls on its own is Laravel REST API best practices. The machine that has to keep the process alive is deploy Laravel to a VPS. A long-running container beside PHP-FPM is the Laravel Docker setup. The server block that has to pass a WebSocket upgrade is the nginx setup guide. An admin table that should change when a job finishes is the same event, and the panel itself is Laravel Filament. The person you ask to own the process is the hire a Laravel developer checklist.

Laravel Reverb fits when the app runs its own WebSocket server, Laravel Echo subscribes, and polling or a hosted Pusher or Ably connection is the other path

Figure 1. Polling hits your HTTP app on a timer. Pusher or Ably host the socket. Laravel Reverb is the process you keep running, and the queue worker still publishes the event.

On 19 November 2026 I read the Laravel 13.x Reverb documentation and the 13.x broadcasting documentation. The same day I read the Packagist metadata for laravel/reverb and laravel/framework, the npm registry records for laravel-echo and pusher-js, the Packagist metadata for beyondcode/laravel-websockets, the GitHub repository metadata for that package, and the README in that repository. I have not installed Reverb for this article. I have not run these snippets.

Versions this was written against

The Packagist metadata for laravel/reverb listed v1.14.0 with a version time of 16 November 2026, 17:01 UTC. That release requires PHP ^8.2. Its Illuminate constraints are ^12.0|^13.0 on illuminate/console, illuminate/contracts, illuminate/http, and illuminate/support. The same require list includes pusher/pusher-php-server ^7.2, react/socket ^1.14, and clue/redis-react ^2.6. The previous release in that metadata, v1.13.0, has a version time of 19 October 2026 and still allows Illuminate ^10.47|^11.0|^12.0|^13.0. Today's 1.14.0 is the narrower constraint. An app that is still on Laravel 10 or 11 does not match the 1.14.0 require line I read.

The Packagist metadata for laravel/framework listed v13.43.0 with a version time of 17 November 2026, 14:58 UTC, requiring PHP ^8.3. Laravel 13 is the framework version these 13.x docs pages describe. Reverb's own PHP floor is 8.2. The framework package on 13.43.0 asks for 8.3, so an app on that framework follows the higher floor.

The npm registry listed laravel-echo 2.6.3, published 27 October 2026, as the latest dist-tag. The broadcasting page says the Laravel Echo reverb broadcaster requires laravel-echo v1.16.0 or newer. 2.6.3 is a later version than 1.16.0. I did not install it, and I did not look up a separate version for @laravel/echo-react, @laravel/echo-vue, or @laravel/echo-svelte. The same broadcasting page shows configureEcho imports from those three packages. The npm registry listed pusher-js 8.6.0, published 23 July 2026, as latest. The broadcasting page says to install pusher-js because Reverb uses the Pusher protocol for WebSocket subscriptions, channels, and messages.

What Laravel Reverb is

The broadcasting introduction says WebSockets are how a modern app updates a UI when data changes on the server, and that they are a more efficient alternative to continually polling the application server for those changes. The example on that page is a CSV export that takes minutes inside a queued job. When the mail goes out, the app broadcasts App\Events\UserDataExported. The JavaScript receives it and tells the user, and the user does not refresh the page.

Laravel's broadcasting is the server-side half of that. Clients subscribe to named channels. The application broadcasts events onto those channels. The broadcasting page says the framework ships four server-side drivers: Laravel Reverb, Pusher Channels, Ably, and Mercure. The quickstart adds a log driver for local development and debugging, and a null driver that disables broadcasting during testing. Configuration lives in config/broadcasting.php, which php artisan install:broadcasting creates, along with routes/channels.php.

Reverb is the driver where the WebSocket server is a Laravel process. The Reverb page describes it as real-time WebSocket communication for the application, integrated with the broadcasting tools you already use. It is an Artisan command, php artisan reverb:start, that stays running. It is not a second application framework, and it is not a replacement for the queue. The quickstart says to configure and run a queue worker before you broadcast. All event broadcasting is done via queued jobs so the response time of the application is not tied to the broadcast. The Mercure driver is the exception on that page: it broadcasts synchronously by default.

People still search for Laravel WebSockets when they want that process. The maintained first-party package for it, as of the versions above, is laravel/reverb. The older package with WebSockets in its name is a later section on this page.

How a broadcast reaches Laravel Echo

Four steps, from the broadcasting and Reverb pages:

  1. A PHP event implements Illuminate\Contracts\Broadcasting\ShouldBroadcast and defines broadcastOn.
  2. You dispatch the event the way you dispatch any other event. Laravel queues a job that performs the broadcast.
  3. A queue worker runs that job. The Reverb connection publishes the message to the Reverb server.
  4. Laravel Echo, already connected, receives the event on the channel it subscribed to.

Path from a ShouldBroadcast event through a queue worker and Laravel Reverb to Laravel Echo, with a private channel authorized by the Laravel app

Figure 2. The HTTP request that saved the record can return before the browser hears about it. The worker publishes. Reverb holds the sockets. Echo is already connected.

The broadcasting page's order example is the shape I use when I explain this. OrderShipmentStatusUpdated implements ShouldBroadcast. broadcastOn returns new PrivateChannel('orders.'.$this->order->id). Dispatching the event is OrderShipmentStatusUpdated::dispatch($order). The queue job then broadcasts it with whatever BROADCAST_CONNECTION the app is using. For a Reverb install, that connection is the one install:broadcasting wrote. The 13.x broadcasting page prints BROADCAST_CONNECTION=pusher, BROADCAST_CONNECTION=ably, and BROADCAST_CONNECTION=mercure in those drivers' sections. The Reverb section says the --reverb install updates .env with the appropriate variables, and it does not print a BROADCAST_CONNECTION line in the text I read. I am not going to invent that line.

Echo on a public channel looks like this on the broadcasting page:

Echo.channel(`orders.${this.order.id}`)
    .listen('OrderShipmentStatusUpdated', (e) => {
        console.log(e.order.name);
    });

A private channel uses Echo.private instead of Echo.channel. The manual Reverb client setup on the same page is an Echo instance whose broadcaster is 'reverb':

import Echo from 'laravel-echo';
import Pusher from 'pusher-js';
window.Pusher = Pusher;

window.Echo = new Echo({
    broadcaster: 'reverb',
    key: import.meta.env.VITE_REVERB_APP_KEY,
    wsHost: import.meta.env.VITE_REVERB_HOST,
    wsPort: import.meta.env.VITE_REVERB_PORT ?? 80,
    wssPort: import.meta.env.VITE_REVERB_PORT ?? 443,
    forceTLS: (import.meta.env.VITE_REVERB_SCHEME ?? 'https') === 'https',
    enabledTransports: ['ws', 'wss'],
});

pusher-js is on the page because of the protocol, including when the server is Reverb. The VITE_ prefix is how Vite exposes the host, the port, the scheme, and the app key to the browser bundle. The Reverb page's application credentials are REVERB_APP_ID, REVERB_APP_KEY, and REVERB_APP_SECRET. The secret stays on the server. The key is the value Echo sends.

The same Reverb page separates two host pairs. REVERB_SERVER_HOST and REVERB_SERVER_PORT are where the Reverb process listens. REVERB_HOST and REVERB_PORT are where Laravel sends broadcast messages, which is also the host the browser uses. The production example on that page is a public hostname on port 443 in front of a process bound to 0.0.0.0:8080:

REVERB_SERVER_HOST=0.0.0.0
REVERB_SERVER_PORT=8080

REVERB_HOST=ws.example.com
REVERB_PORT=443

I changed ws.laravel.com from the doc example to ws.example.com. The split is the point. The process listens on 8080. Clients and the broadcaster talk to 443 on the public name. php artisan reverb:start with no flags binds 0.0.0.0:8080. --host and --port override that for one launch. --debug prints the stream of data, which the page says is off by default so the server stays quieter.

When polling is enough

The broadcasting introduction names continual polling as the thing a WebSocket replaces. Polling still fits when the wait can be long and the page has one reader.

I keep polling, or a manual refresh, when all of these are true:

  • One person is waiting on one screen, and a delay of many seconds is acceptable.
  • The result is already a queued job the user can leave, such as the CSV in the docs, and an email or a later page load is enough.
  • The host cannot keep a second long-running process, which is the production problem the Reverb page spends its production section on.
  • The information arrives from outside the app. That inbound HTTP call is a webhook. The signature, the fast 2xx, and the retry belong to webhooks explained, and a socket does not verify a provider's HMAC.

Polling gets expensive in the boring way. Every open tab asks the HTTP app, and PHP boots a request to answer "nothing changed." The broadcasting page's claim is the efficiency of a connection that only carries a change. It does not publish a request-count formula, and I am not going to invent one.

A log driver is the local stand-in when I am still designing the event and I do not want a socket yet. A null driver is how the broadcasting page says you disable broadcasting during testing. Both are reasons to delay Reverb, not reasons to skip the event class.

When Pusher, Ably, or Mercure fits

Reverb is one of four drivers. The others fit when you want the Echo subscription and you want someone else, or a different server, to hold the connections.

DriverWhat the 13.x broadcasting page says you runThe part I weigh
Laravel Reverbinstall:broadcasting --reverb, then reverb:startA process, a proxy, open files, and a queue worker
Pusher Channelsinstall:broadcasting --pusher, credentials in .env, BROADCAST_CONNECTION=pusherTheir cloud holds the sockets. You still run the queue worker
Ablyinstall:broadcasting --ably, after enabling Pusher protocol support in the Ably appThe page documents Ably's Pusher-compatibility mode, and it says the Ably team maintains a separate broadcaster
Mercureinstall:broadcasting --mercure, a hub URL and a JWT secretBroadcasts immediately unless MERCURE_ASYNC=true. FrankenPHP can use a built-in hub

Pusher Channels is the hosted Pusher-protocol service. The page has you set PUSHER_APP_ID, PUSHER_APP_KEY, PUSHER_APP_SECRET, PUSHER_PORT=443, PUSHER_SCHEME, and PUSHER_APP_CLUSTER. Echo points at Pusher. You do not run reverb:start. You still run a queue worker, because the quickstart's queue rule is for broadcasting in general, with Mercure named as the exception.

Ably on that page is also Pusher-protocol compatibility. The page says to enable Pusher protocol support under the Ably app's protocol adapter settings, then set ABLY_KEY and BROADCAST_CONNECTION=ably. The same section says the Ably team recommends and maintains its own broadcaster and Echo client, and it points at Ably's documentation for that. I have not read Ably's site for this article. If the reason you picked Ably is a feature that exists only on their own client, the compatibility mode the Laravel page documents is the wrong stop.

Mercure is a different protocol and a different default. The page says the Mercure driver broadcasts events immediately instead of queueing them, so it does not require a queue worker. MERCURE_ASYNC=true puts publishing on your queue, and that mode requires MERCURE_URL because queue workers publish over HTTP. FrankenPHP's built-in hub can take an empty MERCURE_URL for requests FrankenPHP itself is serving. Artisan commands and queue workers still need the hub URL. That is a good fit when the app is already on FrankenPHP and you want the hub inside that process. It is a poor reason to adopt FrankenPHP only to avoid Reverb.

Encrypted private channels are documented on the broadcasting page for Pusher Channels and for Mercure. The section tells you to set encryption_master_key_base64 for Pusher, generated with openssl rand -base64 32, or MERCURE_ENCRYPTION_KEY as a 32-byte key for Mercure, and to return an EncryptedPrivateChannel. It says that when using Pusher Channels, the default pusher-js build does not include decryption, so you import pusher-js/with-encryption. The Reverb page I read does not document an encryption master key. I am not going to claim Reverb offers that feature, and I am not going to claim it lacks it. If end-to-end encryption of the payload is a requirement, the page that actually specifies the setup is the Pusher and Mercure section.

The client-events section opens with a Pusher Channels requirement: enable Client Events in the Pusher app settings before Echo's whisper method can send a typing notification from one browser to another. The Reverb page does not document a client-events switch. Typing indicators are a product decision on top of whichever server you picked.

Hosted drivers fit when the team will not own open-file limits, a reverse proxy, and a process manager. They still leave you the Laravel event, the channel authorization, and, except for default Mercure, the queue. The payload still leaves your server for the host you chose. That is the trade I name before I recommend Reverb.

When Laravel Reverb fits

Reverb fits when the real-time feature is real and the socket should live on infrastructure you already operate.

I reach for it when several of these are true:

  • More than one open screen needs the same change, and a refresh is the bug the user would notice. Order status, a presence list, a row in an admin table after a job finishes.
  • The app already has a queue worker. Broadcasting wants that worker anyway. Horizon, or queue:work under a process manager, is the setup in Laravel Horizon in production.
  • The deploy target can run another long-running process beside PHP-FPM. A VPS release is deploy Laravel to a VPS. A container beside the queue worker is the Laravel Docker setup.
  • You want the Pusher protocol, and Echo's broadcaster: 'reverb', on a host you control. The message path stays on that host instead of a Pusher or Ably account.
  • You can put a reverse proxy on 443 and leave the process on 8080, which is the host split in the Reverb production example.

I leave it for later when the feature is a single user refreshing a page, when the inbound signal is a webhook, or when the only available host cannot supervise a process. An application still on Laravel 10 or 11 also waits, or it stays on Reverb 1.13.0's constraint line, because 1.14.0's Illuminate requirement starts at 12.

Laravel Cloud and Forge show up on the Reverb page as managed options, without numbers I am going to repeat. The page says Laravel Cloud offers fully managed WebSocket infrastructure powered by Laravel Reverb clusters. It also says that if you use Laravel Forge, the Reverb server is configured by default. Those are hosting choices. This page is the self-managed reading of the same docs.

The UI stack does not pick the driver. Livewire, Inertia, or an API plus React can all load Echo. Which of those renders the page is Laravel Livewire vs Inertia. A mobile or third-party client that only speaks your JSON API is still the REST API problem. Echo is a JavaScript client for the broadcasting protocol. It does not replace that API.

Laravel WebSockets, the older package

The search phrase Laravel WebSockets usually means beyondcode/laravel-websockets. On 19 November 2026 the Packagist metadata for that package had "abandoned": true. The newest version in the p2 metadata was 2.0.0-beta.37, with a version time of 12 February 2022. The GitHub API for beyondcode/laravel-websockets reported the repository archived, with a pushed_at of 7 February 2024.

The README in that repository, which I read the same day, says Laravel WebSockets is no longer maintained. It points readers who want a PHP WebSocket server at Laravel Reverb, and it says Reverb is also built on ReactPHP and can scale horizontally. The Reverb page agrees about the event loop: Reverb uses a ReactPHP loop, stream_select by default.

The Packagist abandoned flag on the metadata I read is the boolean true. It does not name a replacement package inside that field. The README is where the project points at Reverb. I treat those as two sources, read on the same day, and I link the work to laravel/reverb because that is the package whose 13.x docs and 1.14.0 release I am writing against.

An app that still runs the old package has a Pusher-protocol server and, usually, Echo pointed at a Pusher-compatible host. Moving to Reverb is a new Composer package, a new long-running command (reverb:start), and an Echo broadcaster of 'reverb'. Channel names and ShouldBroadcast events are Laravel broadcasting concepts, shared by the drivers on the broadcasting page. I have not performed that migration on an app for this article, so I am not going to list a file-by-file diff.

Channels, authorization, and Echo

The broadcasting page divides channels into public and private. Any visitor may subscribe to a public channel. A private channel requires an authenticated user who is also authorized for that channel name. Presence channels are private channels that also announce who is subscribed.

broadcastOn returns a Channel, a PrivateChannel, or a PresenceChannel. The order example uses a private channel tied to the order id so only the customer who owns the order can hear status updates. An array return broadcasts onto more than one channel.

Authorization is an HTTP request from Echo to the Laravel app. The broadcasting page says that when broadcasting is installed, Laravel tries to register /broadcasting/auth automatically. If that does not happen, you register it in bootstrap/app.php:

->withRouting(
    web: __DIR__.'/../routes/web.php',
    channels: __DIR__.'/../routes/channels.php',
    health: '/up',
)

The callback lives in routes/channels.php. The page's order rule is:

use App\Models\Order;
use App\Models\User;

Broadcast::channel('orders.{orderId}', function (User $user, int $orderId) {
    return $user->id === Order::findOrNew($orderId)->user_id;
});

The first argument is the authenticated user. Further arguments are the wildcards in the channel name. A true return authorizes the subscription. A false return refuses it. The page says an unauthenticated user is denied and the callback never runs. Private and presence channels use the default guard, and the third argument to Broadcast::channel can set ['guards' => ['web', 'admin']]. php artisan channel:list prints the callbacks you registered. php artisan make:channel OrderChannel generates a class when the closures outgrow the routes file. Channel model binding can receive an Order instead of an id. The page says that, unlike HTTP routes, channel model binding does not support automatic implicit scoping.

Presence authorization returns an array of user data, or false or null when the user may not join. Echo joins with Echo.join, and the page documents here, joining, leaving, and error. here receives the users already on the channel. error runs when the auth endpoint returns a status other than 200, or when the JSON cannot be parsed. That array is what a chat member list is made of. The channel is still authorized. Presence is not a public directory of your users.

Every public property on the event is serialized into the payload. The page's example is a public $user model becoming a user object in the JSON. broadcastWith returns the array you actually want to send. I use that when the event holds a model the browser only needs an id from. broadcastAs replaces the class name. Echo then listens for a leading dot, .server.created, so it does not prepend the application namespace. broadcastWhen returns false when this particular dispatch should stay quiet.

toOthers keeps the current connection from hearing an event it already applied from the HTTP response. The event class uses Illuminate\Broadcasting\InteractsWithSockets. A global Axios instance sends X-Socket-ID for you. Otherwise the page says to send the id from Echo.socketId() yourself. Without that header, toOthers has no socket to exclude, and the screen that just saved the row will also apply the broadcast.

Anonymous events skip the event class. Broadcast::on('orders.'.$order->id)->send() queues an event named AnonymousEvent. as and with set the name and the payload. private and presence pick the channel type. sendNow broadcasts immediately. toOthers works on this chain as well.

Model broadcasting is for Eloquent create, update, delete, trash, and restore when you do not want a hand-written event class. The model uses Illuminate\Database\Eloquent\BroadcastsEvents and defines broadcastOn(string $event). The $event argument is created, updated, deleted, trashed, or restored. Returning the model instance, or a related model, makes Laravel open a private channel named from the class and the key. The page's example is App\Models\User with id 1 becoming App.Models.User.1. The broadcast name is the short class name plus the verb: an update of App\Models\Post is PostUpdated. Echo listens on the private channel with a leading dot, .UserUpdated, because the event does not live under App\Events. The payload includes a model property. useEchoModel from the React, Vue, and Svelte Echo packages is the hook the page shows for that convention.

Notifications are the other built-in. The broadcasting page says that once a notification uses the broadcast channel, Echo's notification method can listen on a private channel whose name matches the notifiable class, such as App.Models.User.{id}. The queue behavior of that notification is the notification's own class. I keep that on the Horizon page rather than treating Reverb as a mailer.

ShouldRescue is the interface for a broadcast that must not take down the user's request. The page says Laravel's rescue helper catches the exception, reports it, and lets the request finish. I implement it when the screen's save is the real work and the live update is extra. A down socket should show up in the log. It should not roll back the order.

Queued broadcasting

The quickstart is blunt. Before you broadcast, run a queue worker. ShouldBroadcast puts the broadcast on the default queue connection from config/queue.php. The user's HTTP request can finish, and the worker publishes when it reaches that job.

The worker is required. A Reverb process with an empty queue still has sockets and no new events. A worker with no Reverb process will try to publish and fail. Both processes have to be up. That pairing is the production shape.

The broadcasting page lets you move one event onto another connection and queue name with the Connection and Queue attributes, or with a broadcastQueue method. I put broadcasts on their own queue when they must not wait behind a slow export. Horizon's supervisors are how that queue gets its own process count. The numbers that have to agree, timeout and retry_after, are the ones on the Horizon page. A broadcast job is a job.

ShouldBroadcastNow implements the immediate path. The page says it uses the sync queue instead of the default driver. The request that dispatched the event publishes before it returns. I use that only when the screen cannot tolerate the wait and the publish is cheap. It puts the Reverb HTTP call on the user's request. If Reverb is down, that request feels it, unless ShouldRescue is also on the class.

Database transactions are the other queue trap. The page says a broadcast dispatched inside a transaction may be processed before the commit. The worker then reads models that do not exist yet. If the queue connection's after_commit option is false, the event can implement ShouldDispatchAfterCommit so the dispatch waits until the open transactions commit. I read that as a reason to look at the queue connection config. The broadcasting page sends you to the queued-jobs documentation for the rest of that behavior. The worker that processes the job after the commit is the one in Laravel Horizon in production.

A deploy has to restart both long-running processes. PHP-FPM reloads the HTTP app. It does not reload reverb:start, and it does not reload Horizon. The Reverb page says code changes are invisible until php artisan reverb:restart. That command closes connections gracefully, and a process manager starts the server again. The queue restart is queue:restart or Horizon's terminate, which the Horizon page already covers. I run both after the release symlink moves.

Deploy and scaling

Reverb's production section exists because a WebSocket server holds a connection open for each client. The page says each connection is a file, and Unix limits how many files a process may hold.

ulimit -n shows the current ceiling. The page's example writes soft nofile and hard nofile of 10000 for the forge user in /etc/security/limits.conf. Supervisor needs its own ceiling. The page says to set minfds=10000 under [supervisord], or Supervisor cannot open the files the connections require. The program itself is php artisan reverb:start, with a process manager so it comes back when it exits. The same pattern, a program under Supervisor and a restart on deploy, is what deploy Laravel to a VPS already does for other long-running Artisan commands.

The event loop is the next ceiling. Reverb uses ReactPHP. The default loop is stream_select, which the page says is typically limited to 1,024 open files and needs no extra extension. If you plan to handle more than 1,000 concurrent connections, the page says you need a loop that is not bound to that restriction. Reverb switches to an ext-uv loop when that extension is present. The install line on the page is pecl install uv. I have not installed that extension for this article. The 1,000 and 1,024 figures are the documentation's, not a benchmark of mine.

The sample nginx server block on the Reverb page proxies location / to http://0.0.0.0:8080 with proxy_http_version 1.1, an Upgrade header, and Connection "Upgrade". It also forwards Host, Scheme, SERVER_PORT, REMOTE_ADDR, and X-Forwarded-For. The page says Reverb listens for WebSocket connections at /app and handles API requests at /apps, and that the web server in front of Reverb has to be able to serve both. The sample location / sends every request on that server block to Reverb. I read that as a server block for the Reverb hostname, matching REVERB_HOST=ws.example.com, and not as a block I paste onto the same server_name that already serves the Laravel public directory. Pasting it there would send ordinary page requests at the socket process. TLS termination stays on nginx in the usual case. The Reverb page says the process itself terminates TLS only for local tools such as Herd or Valet, or when you set a tls.local_cert option in config/reverb.php. Public traffic should hit 443 on the proxy. The general nginx pattern, including proxy_set_header, is the nginx setup guide.

The page also raises nginx's own ceilings in the example: worker_rlimit_nofile 10000 and worker_connections 10000. Those match the 10,000 open-file example. They are example values from the docs, chosen together, not a capacity I measured.

Ports are a third ceiling. The page reads /proc/sys/net/ipv4/ip_local_port_range, shows 32768 60999, and says that range is 28,231 connections because each connection needs a free port (60,999 minus 32,768). It recommends horizontal scaling to raise the ceiling, and it mentions widening the range in /etc/sysctl.conf as the alternative. I would scale out before I edit that sysctl on a box that also makes a lot of outbound connections. The page does not require that preference. It is the order I would choose on a VPS that already has other services.

Horizontal scaling is Redis. Set REVERB_SCALING_ENABLED=true. Give every Reverb server the same default Redis connection, which is the connection the page says Reverb publishes on. Run reverb:start on each server. Put those servers behind a load balancer that spreads connections. A message that arrives on one server is published to the others through Redis. clue/redis-react is already in the 1.14.0 require list, so the package can talk to Redis. The flag is what turns the scaling behavior on. One Redis server is a dependency of that design. The page calls it a dedicated central Redis. Horizon may already be using Redis on the same app. I still want the operational owner to know Reverb will use the default connection, because a Redis Cluster limitation on another Laravel feature is not automatically a Reverb limitation, and I am not going to borrow Horizon's Cluster warning and paste it onto Reverb. The Horizon page is where that Cluster sentence actually appears.

Pulse is the monitor the Reverb page documents. Install Pulse, then register Laravel\Reverb\Pulse\Recorders\ReverbConnections and Laravel\Reverb\Pulse\Recorders\ReverbMessages in config/pulse.php, each with a sample_rate. The dashboard cards are <livewire:reverb.connections> and <livewire:reverb.messages>. Connection samples are polled, so php artisan pulse:check has to run on the Reverb server. In a scaled setup the page says to run that daemon on one server only. Pulse is a Livewire dashboard. It is not the Filament panel. Filament is still the right link when the real-time feature is an admin table, because that table is application UI, and Pulse is the socket's own counters.

Allowed origins are in config/reverb.php under the app entry, allowed_origins. The page says a request from any other origin is rejected, and that * allows every origin. I list the real site origin. A public channel has no user check. An allow-all origin list on a public channel is a socket any website can open.

One Reverb process can serve more than one application. The page shows an apps array with two app_id entries. That fits a single socket process in front of several Laravel apps that each have their own key. It is extra configuration. A single app does not need it.

Local SSL on the Reverb page is Herd or Valet. php artisan reverb:start --host="0.0.0.0" --port=8080 --hostname="laravel.test" uses the site certificate those tools already created, and the page says the socket is then available at wss://laravel.test:8080. That is a development convenience. Production stays on the proxy.

Docker does not change the process list. The container that runs reverb:start is a different service from PHP-FPM, the queue worker, and the scheduler. The image layout for those long-running containers is the Laravel Docker setup. I would not put reverb:start inside the PHP-FPM container and hope the process supervisor of that image keeps it alive. I have not published a compose file for Reverb here.

Restart belongs in the deploy script. After the new release is the current symlink, run php artisan reverb:restart so old code drops its sockets, and restart the queue workers so they load the new event classes. Then confirm both programs are running. A green HTTP check of /up does not tell you the socket is up. /up is the HTTP health route. Reverb's health is the process and, if you installed Pulse, the connection recorder.

FAQ

What is Laravel Reverb?

Laravel Reverb is the first-party WebSocket server for Laravel broadcasting. You install it with php artisan install:broadcasting --reverb, or with composer require laravel/reverb and php artisan reverb:install. You run it with php artisan reverb:start. Laravel Echo subscribes with broadcaster: 'reverb'. This page is written against Reverb v1.14.0 and the Laravel 13.x docs, read on 19 November 2026.

Does Laravel Reverb replace Pusher?

It replaces the hosted socket for the Pusher protocol, when you want to run that socket yourself. Events, channels, and Echo stay. The broadcasting page still lists Pusher Channels, Ably, and Mercure as drivers. Reverb is the choice where reverb:start is your server. Pusher Channels is the choice where Pusher's cloud is the server. Both still want a queue worker, Mercure aside.

Do I still need a queue worker?

Yes, for ShouldBroadcast. The broadcasting quickstart says all event broadcasting is done via queued jobs, and it names Mercure as the driver that broadcasts synchronously by default. ShouldBroadcastNow uses the sync queue, so that one event publishes inside the request. The Reverb process does not drain the queue for you. The worker is Laravel Horizon or queue:work.

What happened to the Laravel WebSockets package?

beyondcode/laravel-websockets is the package that name points at. On 19 November 2026 Packagist marked it abandoned, the newest release in its metadata was 2.0.0-beta.37 from 12 February 2022, and GitHub reported the repository archived. The README says it is no longer maintained and points to Laravel Reverb.

Can Echo use React, Vue, or Svelte?

The broadcasting page shows configureEcho({ broadcaster: "reverb" }) from @laravel/echo-react, @laravel/echo-vue, and @laravel/echo-svelte, and it shows useEcho for listening. The plain laravel-echo constructor in resources/js/app.js is the setup whose package version I checked on npm. The page that renders the component is a separate choice, covered in Laravel Livewire vs Inertia.

If you want this on an app you already ship

The decision is small once the feature is named. One waiting user and a slow job can poll, or it can send mail when the job finishes. A room of screens that must move together is a channel, a worker, and a socket. Hosted Pusher or Ably takes the socket. Reverb is the socket when the process, the proxy, and the open files are acceptable on the host you already have.

I would install broadcasting, point Echo at Reverb, authorize the private channel, and only then raise ulimit and talk about a second server. The 13.x pages linked above are the source for the commands on this page. I have not run them here. If you want that wiring done on an application, start with Laravel development. The worker it depends on is Laravel Horizon in production.

Discuss this with Muhammad

Message Muhammad Zubair Akhtar on WhatsApp or email [email protected].