Laravel event not being Broadcast Laravel event not being Broadcast vue.js vue.js

Laravel event not being Broadcast


I can recommend You to check Your .env file
and make sure BROADCAST_DRIVER is not log (try pusher)
and also don't forget to keep running queue listener:

php artisan queue:listen

UPD.: if You look for more advanced solution, read about laravel horizon


the event will not be broadcasted immediately, it will be send to the queue, only when you listen or work on the queue, the event will be consumed. If you want execute jobs immediately, set QUEUE_DRIVER=sync . see: laravel queue


In my case, my event class file is generated by "make:event", it does have broadcastOn method... But have no implements ShouldBroadcast~It causes the laravel-echo-server output nothing~

Laravel Framework 8.13.0