Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
871 views
in Technique[技术] by (71.8m points)

Laravel Event Broadcasting and Notification

I haven a Laravel app with a chat functionality which is working with an event called MessageSent. This event is broadcasted to a private channel, following the instructions of the documentation.

This is working for my web listener, but now I need to send a notification to my FCM and APN channels.

What's a good approach to achieve this functionality? Do I have to create a notification or does this event class MessageSent works for broadcast on FCM and APN channels?

Thanks in advance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can use livewire OR Pusher for instant notifications.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.5k users

...