Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Keura's avatar
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?

0 likes
3 replies
tykus's avatar
tykus
Best Answer
Level 104

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.

1 like
Keura's avatar
Level 1

@tykus Should I use Pusher? I saw some videos about it when i searched about broadcasting in Laravel.

Please or to participate in this conversation.