Show Filament notification when database notification is received
Is there a built in way to render/show a Filament notification when a database notification is received?
For example let's say I have this code
Is there a built-in way to actually render that notification when
If not, is there a callback or some sort of hook/event that's triggered so I can do this manually?
Thank you.
For example let's say I have this code
Is there a built-in way to actually render that notification when
$someUser receives it? So they would see the equivalent ofIf not, is there a callback or some sort of hook/event that's triggered so I can do this manually?
Thank you.
Solution
I think you need to check broadcasting notifications: https://filamentphp.com/docs/3.x/notifications/broadcast-notifications