Download the PHP package ayles-software/laravel-sms-mobile-message without Composer
On this page you can find all versions of the php package ayles-software/laravel-sms-mobile-message. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ayles-software/laravel-sms-mobile-message
More information about ayles-software/laravel-sms-mobile-message
Files in ayles-software/laravel-sms-mobile-message
Package laravel-sms-mobile-message
Short Description MobileMessage Notifications channel for Laravel 12
License MIT
Homepage https://github.com/ayles-software/laravel-sms-mobile-message
Informations about the package laravel-sms-mobile-message
MobileMessage sms notifications channel for Laravel 12
This package makes it easy to send notifications using MobileMessage with Laravel 12.
Installation
Install the package via composer:
Add your MobileMessage api key, secret and optional default sender sms_from to your config/services.php:
Usage
Use MobileMessageChannel in via() method inside your notification classes. Example:
In notifiable model (User), include method routeNotificationForMobileMessage() that returns recipient mobile number:
Then send a notification the standard way:
Events
Following events are triggered by Notification. By default:
- Illuminate\Notifications\Events\NotificationSending
- Illuminate\Notifications\Events\NotificationSent
NotificationFailed will trigger if something goes wrong
- Illuminate\Notifications\Events\NotificationFailed
Testing
Nope
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sms-mobile-message with dependencies
illuminate/http Version ^10.0||^11.0||^12.0||^13.0
illuminate/events Version ^10.0||^11.0||^12.0||^13.0
illuminate/support Version ^10.0||^11.0||^12.0||^13.0
illuminate/notifications Version ^10.0||^11.0||^12.0||^13.0