Hello Artisans, In the previous post we saw how we to send SMS notification using Twilio. If you are new to this post you can check my post on Twilio by the following the below link. Sending SMS notifications in Laravel using nexmo (note: the nexmo is now Vonage), firstly we have to install the laravel/vonage-notification-channel and guzzlehttp/guzzle packages: composer require laravel/vonage-notification-channel guzzlehttp/guzzle After installation you need to define VONAGE_KEY and VONAGE_SECRET environment variables in.env file to register your Vonage public and secret keys.

To send the notification, you can use the Notification facade's send method and pass it the notifiable instance and the notification class.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners