Does it break something if I install Reverb in Drift Theme?
Hey Carlos!
As far as I am aware this should not cause any issues. Let me know if you hit any problems.
On a separate note, make sure to have your project backed up or in Git before making any major changes so that you can easily rever to a working version if anything goes wrong.
- Bobby
Yeah it doesn't do nothing after the reverb installed. The issue was no echo.js imported in app.js. After I copied the content of echo.js to the app.js
Which contains only this https://prnt.sc/RagKWNZchLVO
it works fine. But then the issue was broadcasting/auth failed
The existing setup in channel.php is this
Broadcast::channel('App.User.{id}', function ($user, $id) { return (int) $user->id === (int) $id; });
It's looking for App.Models.User.{id}. It simply looking for that route. By adding "Models" should do the trick.
And I notice that the filament is also using echo
So I found out that the filament and reverb could work together as long as you set it up correctly. So I followed this https://laraveldaily.com/post/configure-laravel-reverb-filament-broadcasting and it's finally working now.
















Hey!
This is great, happy to hear that you've got it all working!
Also thank you for sharing the extra details here with the community!