简体   繁体   中英

Give notification sound when insert into a database table

I am using Laravel 5.6 and mysql for my web based application.I have table named notices into my database for inputting notices. When one user will insert a notice into the notices table other users will get a
How can I do that?

You can use Laravel's built-in broadcasting system. Laravel supports Pusher and Redis out of the box with minimal configuration.

Pusher provides a step-by-step guide for setting up web notifications for Laravel: https://pusher.com/tutorials/web-notifications-laravel-pusher-channels .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM