mugukamil liked a comment+100 XP
1mo ago
Get Real With Laravel Reverb: Ep 3, Real-time Messaging with Event Broadcasting
If you're not receiving events when sending data through WebSocket, a solution that worked for me is running the command php artisan queue:listen. This resolved the issue for me and allowed events to be received. Give it a try if you're experiencing the same problem!
mugukamil liked a comment+100 XP
1mo ago
Get Real With Laravel Reverb: Ep 2, Installation & Configuration
@markc It's not obvious. I created a user and logged in, and it redirected me to a 404 at /general. It turns out you need to create a channel called "general". I did so via php artisan tinker.
Channel::create(['name' => 'general'])
Once you do that, and log in, you will see the correct page load.