kduma / sms-driver-serwersms
An SerwerSMS.pl driver for kduma/sms package
v1.0
2018-02-10 21:55 UTC
Requires
- php: ~7.1
- illuminate/support: ^5.6
- kduma/sms: ^1.0
- serwersms/serwersms-php-client: ^1.0.0
This package is auto-updated.
Last update: 2024-04-29 17:36:29 UTC
README
An SerwerSMS.pl driver for kduma/sms package
Install
Via Composer
$ composer require kduma/sms-driver-serwersms
In Laravel 5.6, service provider is automatically discovered. If you don't use package discovery,
add the Service Provider to the providers array in config/app.php
:
KDuma\SMS\Drivers\SerwerSMS\SerwerSMSServiceProvider::class,
Create new channel or reconfigure existing in sms.php
config file:
'serwersms' => [ 'driver' => 'serwersms', 'login' => env('SMS_SERWERSMS_LOGIN'), 'password' => env('SMS_SERWERSMS_PASSWORD'), 'sender' => 'INFORMACJA', 'eco' => true, 'flash' => false, ],
Available Options
Option | Default | Description |
---|---|---|
login | null |
Login to serwersms.pl panel |
password | null |
Password to serwersms.pl panel |
sender | null |
Sender name |
eco | true |
Send eco message |
flash | false |
Send flash message |
test | false |
If test is turned on, messages aren't sent. |
Credits
License
The MIT License (MIT). Please see License File for more information.