You're on the right track with Events and Listeners you can go further and Broadcast the Event so an admin user who is subscribed to the Channel can receive a real-time notification. Check out the example application in the docs for more detail on implementation.
Sep 10, 2024
3
Level 1
What's the best way to do Order Notifications
So, I am devoloping a web system in Laravel where the base user can place orders and the adm will receive a notification on screen that a order was placed. I saw the Event and Listener on the documentation, but it is the best way to implement it? What would be the right way to implement it?
Level 104
1 like
Please or to participate in this conversation.