An SerwerSMS.pl driver for kduma/sms package
An SerwerSMS.pl driver for kduma/sms package
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,
],
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. |
The MIT License (MIT). Please see License File for more information.