Deprecated

Laravel SMS Notification Channel - SerwerSMS.pl Driver

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

OptionDefaultDescription
loginnullLogin to serwersms.pl panel
passwordnullPassword to serwersms.pl panel
sendernullSender name
ecotrueSend eco message
flashfalseSend flash message
testfalseIf test is turned on, messages aren't sent.