Download the PHP package macellan/twilio without Composer
On this page you can find all versions of the php package macellan/twilio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download macellan/twilio
More information about macellan/twilio
Files in macellan/twilio
Package twilio
Short Description Twilio SMS notification channel for Laravel
License MIT
Homepage https://macellan.net
Informations about the package twilio
Twilio SMS Notifications Channel for Laravel
This package makes it easy to send sms notifications using Twilio with Laravel 8.x, 9.x, 10.x
Contents
- Installation
- Setting up the Twilio service
- Usage
- On-Demand Notifications
- Testing
- Changelog
- Credits
Installation
You can install this package via composer:
Setting up the Twilio service
Add your Twilio configs to your config/services.php:
Usage
You can use the channel in your via() method inside the notification:
In your notifiable model, make sure to include a routeNotificationForSms() method, which returns a phone number.
On-Demand Notifications
Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the Notification::route method, you may specify ad-hoc notification routing information before sending the notification:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Credits
All versions of twilio with dependencies
illuminate/notifications Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
twilio/sdk Version ^7.0