Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

kduma-OSS/LV-SMS-Driver-SerwerSMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An SerwerSMS.pl driver for kduma/sms package

Latest Version on Packagist Software License Total Downloads

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.