Package Data | |
---|---|
Maintainer Username: | lbhurtado |
Maintainer Contact: | lester@applester.co (Lester Hurtado) |
Package Create Date: | 2016-04-20 |
Package Last Update: | 2016-05-07 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 15:03:28 |
Package Statistics | |
---|---|
Total Downloads: | 55 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Additional providers for Simple-SMS Laravel package
composer require "lbhurtado/simple-txtcmdr-drivers: dev-master"
Instead of original simple sms service provider, set our:
'providers' => [
...
LBHurtado\SMS\SMSServiceProvider::class
]
Set original simple sms alias:
'aliases' => [
...
'SMS' => SimpleSoftwareIO\SMS\Facades\SMS::class
Autoload Telerivet API in composer.json
:
autoload: {
classmap: [
database,
vendor/telerivet/telerivet-php-client/telerivet.php
],
...
composer dumpautoload -o
Publish original simple sms config:
php artisan vendor:publish
Set up sms drivers in config/sms.php
file:
'telerivet' => [
'api_key' => env('TELERIVET_API_KEY'),
'project_id' => env('TELERIVET_PROJECT_ID')
],
'sun' => [
'user' => env('SUN_USER'),
'pass' => env('SUN_PASS'),
'mask' => env('SUN_MASK'),
'login_url' => 'http://mcpro.sun-solutions.ph/emcpro/login.aspx'
],