Laravel Echo v4 native integration & Export actions
Hello everyone,
I use Filament for the admin panel but also in custom components, and have a heavy use of Livewire navigate accross my app, so it behaves a bit like a SPA.
The problem that I have, is when I'm trying to set up an Export action on a table, the job is passed to a worker, anda file and a notification is generated but both never gets passed to the user.
After some experiencing I came to the conclusion that the user experience would be weird in any case if I did not set up some kind of websocket server to push the notification after the job is done. Is this right ? If I successfully set it up, are the notifcation broadcast to Echo automatically ?
The doc mentions an "automatic integration with Echo", but what does that mean exactly ?
If someone could point me in the right direction, that would be much appreciated !
Thanks in advance,
Samy
1 Reply
read this, it is for V3 but still valid for v4:
https://laraveldaily.com/post/configure-laravel-reverb-filament-broadcasting
Laravel Daily
Configure Laravel Reverb in Filament Broadcasting