smart-crowd / simple-sms-drivers
Addition providers for simple SMS laravel package
Installs: 1 048
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 4
Forks: 5
Open Issues: 0
Requires
This package is not auto-updated.
Last update: 2024-11-19 05:39:14 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') ],