Listening for broadcast events
Hi folks
Been working with filament for a little bit now and really enjoying it.
I’ve been building with Laravel since v4 now and really liking the productivity bump.
Anyhow there’s something I’m trying to wrap my head around on how to do “the filament way”.
Let’s assume I have a component (TextEntry, TextColumn etc). For that specific item I know while displaying it, I will be receiving a broadcast notification (say for example a list of processes running in the background and when the state of any changes, I fire an event)
Now this would be no mystery with just Laravel using Broastasting + echo.
Even in Livewire (which I’ve been using for a long time) it would not be an issue (setting up listeners to subscribe to Echo)
How would I got about doing this with one of the filament pages? (Say View or List page)
Would it be a custom page treated like a regular Livewire component?
Is maybe a custom Field or custom Entry?
Receiving these live updates (considering we have everything in the ecosystem even with Reverb coming out) seems like a common scenario but I can’t find a proper information on it
Thanks in advance to anyone that could help shed some light
Been working with filament for a little bit now and really enjoying it.
I’ve been building with Laravel since v4 now and really liking the productivity bump.
Anyhow there’s something I’m trying to wrap my head around on how to do “the filament way”.
Let’s assume I have a component (TextEntry, TextColumn etc). For that specific item I know while displaying it, I will be receiving a broadcast notification (say for example a list of processes running in the background and when the state of any changes, I fire an event)
Now this would be no mystery with just Laravel using Broastasting + echo.
Even in Livewire (which I’ve been using for a long time) it would not be an issue (setting up listeners to subscribe to Echo)
How would I got about doing this with one of the filament pages? (Say View or List page)
Would it be a custom page treated like a regular Livewire component?
Is maybe a custom Field or custom Entry?
Receiving these live updates (considering we have everything in the ecosystem even with Reverb coming out) seems like a common scenario but I can’t find a proper information on it
Thanks in advance to anyone that could help shed some light