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
$someUser
receives it? So they would see the equivalent of
If not, is there a callback or some sort of hook/event that's triggered so I can do this manually?
Thank you.Solution:Jump to solution
I think you need to check broadcasting notifications: https://filamentphp.com/docs/3.x/notifications/broadcast-notifications
2 Replies
Solution
I think you need to check broadcasting notifications: https://filamentphp.com/docs/3.x/notifications/broadcast-notifications
@Brian Kidd Ah, yes, that's exactly what I need! Thank you! π