Download the PHP package 5818959/smstraffic-notification-channel without Composer
On this page you can find all versions of the php package 5818959/smstraffic-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download 5818959/smstraffic-notification-channel
More information about 5818959/smstraffic-notification-channel
Files in 5818959/smstraffic-notification-channel
Package smstraffic-notification-channel
Short Description SmsTraffic Notification Channel for laravel.
License MIT
Informations about the package smstraffic-notification-channel
Laravel SmsTraffic Notification Channel
Details
Based on Laravel Nexmo Notification Channel.
Official Documentation
See documentation for Laravel Nexmo Notification Channel on the Laravel website.
Configuration options
You will need to add a few configuration options to your config/services.php configuration file. You may copy the example configuration below to get started:
The sms_from option is the phone number that your SMS messages will be sent from. You should use a phone number from your SmsTraffic control panel.
For testing purposes you may want to change the URL that smstraffic-client makes requests to from https://api.smstraffic.ru/multi.php to something else. You can do this by providing a url option.
SmsTrafficMessage attributes
SmsTrafficMessage has additional attributes:
fromattribute allows you to override thesms_fromconfiguration option;toattribute allows you to override the recipient phone number;typeattribute allows you to set the type of the message; this is useful if you plan to distinguish between messages in your app later.
License
Laravel SmsTraffic Notification Channel is open-sourced software licensed under the MIT license.
All versions of smstraffic-notification-channel with dependencies
illuminate/notifications Version ~5.8.0|^6.0
5818959/smstraffic-client Version ^0.5.1