Download the PHP package chevgenio/smspilot-notification-channel without Composer
On this page you can find all versions of the php package chevgenio/smspilot-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chevgenio/smspilot-notification-channel
More information about chevgenio/smspilot-notification-channel
Files in chevgenio/smspilot-notification-channel
Package smspilot-notification-channel
Short Description SmsPilot Notifications channel for Laravel
License MIT
Homepage https://github.com/chevgenio/smspilot-notification-channel
Informations about the package smspilot-notification-channel
SmsPilot notifications channel for Laravel 8.x
This package makes it easy to send notifications using smspilot.ru with Laravel 8.x.
Contents
- Installation
- Setting up the SmsPilot service
- Usage
- Available Message methods
- Changelog
- Testing
- License
Installation
Install this package with Composer:
Setting up the SmsPilot service
Add your SmsPilot api key, default sender name 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 routeNotificationForSmspilot
method, which returns a phone number
or an array of phone numbers.
Available methods
from()
: Sets the sender's name. Make sure to register the sender name at you SmsPilot dashboard.
content()
: Set a content of the notification message.
sendAt()
: Set a time for scheduling the notification message.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of smspilot-notification-channel with dependencies
guzzlehttp/guzzle Version ^7.0.1
illuminate/queue Version ^8.0
illuminate/notifications Version ^8.0
illuminate/support Version ^8.0