Package Data | |
---|---|
Maintainer Username: | klermonte |
Maintainer Contact: | klermonte@yandex.ru (Paul Klementyev) |
Package Create Date: | 2015-09-28 |
Package Last Update: | 2016-02-10 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-14 15:09:48 |
Package Statistics | |
---|---|
Total Downloads: | 1,048 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 10 |
Total Watchers: | 4 |
Total Forks: | 5 |
Total Open Issues: | 0 |
Addition drivers for simple SMS laravel package
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')
],