on documentation laravel about notification on demand it's only have example for mail,slack and nexmo so how to send notification via broadcast use on demand. https://laravel.com/docs/5.8/notifications
that example for mail
Notification::route('mail', 'taylor@example.com')
->route('nexmo', '5555555555')
->route('slack', 'https://hooks.slack.com/services/...')
->notify(new InvoicePaid($invoice));
or how to send notification broadcast without Elequent.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3aRW53u
via IFTTT
Aucun commentaire:
Enregistrer un commentaire