I’m working on a Laravel 11 app where I want to use Laravel Reverb for WebSockets. However, I’m encountering an issue with the broadcasting/auth
route. Here’s the situation:
#1. Fresh Laravel Installation: When I install Reverb in a fresh Laravel app, the broadcasting/auth
route is present and works as expected.
#2. Inertia.js Installed First: If I install Inertia.js first (without a starter kit), and then install Reverb, the broadcasting/auth
route is missing.
#3. Using Laravel Breeze + Inertia.js: When I install Inertia.js through a starter kit like Laravel Breeze (with Vue and Inertia.js), and then install Reverb, the broadcasting/auth
route is present and works fine.
It seems that installing Inertia.js manually before Reverb is causing the broadcasting/auth
route to disappear.
Does anyone know what might be causing this issue in scenario #2?
Thanks in advance!