smart-crowd/simple-sms-drivers

Addition providers for simple SMS laravel package

v0.3 2015-11-11 14:04 UTC

This package is not auto-updated.

Last update: 2024-12-17 06:03:05 UTC


README

Addition drivers for simple SMS laravel package

Installition

composer require "smart-crowd/simple-sms-drivers: dev-master"

Instead of original simple sms service provider, set our:

'providers' => [
  ...
  SmartCrowd\Sms\SmsServiceProvider::class
]

Set original simple sms alias:

'aliases' => [
  ...
  'SMS' => SimpleSoftwareIO\SMS\Facades\SMS::class

Publish original simple sms config:

php artisan vendor:publish

Now you can set up addtition sms drivers in config/sms.php file:

'smscenter' => [
    'login'    => env('SMS_CENTER_LOGIN'),
    'password' => env('SMS_CENTER_PASSWORD')
],
'smsru' => [
    'api_id' => env('SMS_RU_API_ID')
],
'smsclub' => [
    'login'    => env('SMS_CLUB_LOGIN'),
    'password' => env('SMS_CLUB_PASSWORD')
],

Usage

See original documentation