Download the PHP package ahasha-dev/laravel-smsglobal-notifications-channel without Composer
On this page you can find all versions of the php package ahasha-dev/laravel-smsglobal-notifications-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ahasha-dev/laravel-smsglobal-notifications-channel
More information about ahasha-dev/laravel-smsglobal-notifications-channel
Files in ahasha-dev/laravel-smsglobal-notifications-channel
Package laravel-smsglobal-notifications-channel
Short Description SmsGlobal notification channel for Laravel 10, 11, 12
License MIT
Informations about the package laravel-smsglobal-notifications-channel
Use this package to send SMS with SmsGlobal in Laravel 10, Laravel 11, and Laravel 12.
Installation
Configure
In your services.php config file add the following configs.
Debug Mode
Debug mode is turn on by default, which means SMS will not be actually sent, instead only a log record will be added
to /storage/logs/laravel.log
In your services.php change the value of sms_global.debug to false
Usage
Notification class
Using Laravel notification class add SmsGlobalChannel::class to via()
method like so:
On demand notification
You can utilize Laravel on-demand notification facade to send SMS directly to a phone number without having to store a user in your application.
The notifiable argument in toSmsGlobal of your notification class should expect the same data type you passed to
the Notification facade.
All versions of laravel-smsglobal-notifications-channel with dependencies
illuminate/http Version ^10.0 || ^11.0 || ^12.0
illuminate/notifications Version ^10.0 || ^11.0 || ^12.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0
guzzlehttp/guzzle Version ^6.5 || ^7.2
hellochef-me/php-styles Version ^1.0