What notification channels are supported by Laravel?

What notification channels are supported by Laravel?

Although we’ll be talking about notifications to be sent via the email channel, you might be interested in other options. Besides mail, those include:

SMS – users will get text notifications on their phone. SMS notifications in Laravel are implemented through the Vonage, formerly known as Nexmo Nexmo API. But you are free to use another SMS provider, of course:)

Slack – users will get notifications in Slack. For this, you need to configure the Incoming Webhooks integration to send data into Slack in real-time.

Database – users will get notifications in the app’s user interface. The information about notifications is stored in a database table. Your JavaScript client accesses it to return notifications for a notifiable user.

Broadcast – notifications are broadcast to a notifiable user in real time. When some data is updated on the server, a message is sent over a WebSocket connection to the JavaScript client.

If you need a custom notification channel, you can always write your own drivers to deliver notifications. But first, let’s find out how it goes with email notifications.


subscibe