In this lesson, learn the relationship between Laravel Reverb, Events, and the Job Queue. By default events that implement ShouldBroadcast
run on the JobQueue. If you want to run the synchronously, you should implement ShouldBroadcastNow
instead or if you just want to run synchronously on local and keep in the queue on production, you can change the QUEUE_CONNECTION
in your .env file to sync
.
Links