In this episode, we dive into how easy it is to enable and configure Laravel Reverb on a server using Forge. Normally, if you check the official Laravel Reverb documentation, you'll see there's a long list of things you need to set up for production—but Forge helps you skip all that manual work.
We walk through toggling Reverb from the application settings in Forge. You’ll see how Forge automatically detects that Reverb is installed and provides you an option to toggle it on, including customizing stuff like max connections and the public host name (which defaults to a sensible subdomain). Once we hit start, Forge handles the setup, and we just wait for it to finish.
Afterwards, we take a look at the server's daemons where Forge has set up everything for Reverb, including the startup command. If you need to make changes, like switching the port or restarting Reverb, you can do it right from the Forge dashboard.
Finally, we check the environment variables for our site and notice that Forge has automatically set the Reverb host for us. You don't have to mess around with this manually. We also mention making sure you’ve got all your credentials sorted and that your Veet exposed credentials are there too. At this point, Reverb is running smoothly on your server!
So, this episode is all about making Reverb work on your production server with almost no fuss, thanks to Forge.