dev-master
9999999-devSend sms via random providers
MIT
The Requires
by Eugene Shpartko
Wallogit.com
2017 © Pedro Peláez
Send sms via random providers
Hi there!
It's an implementation of test case for checking basics PHP/Laravel/MVC/OOP skills., (*1)
Send sms/mms via random providers., (*2)
Install Laravel, (*3)
composer create-project laravel/laravel test php artisan key:generate
Install this package via composer using this command:, (*4)
composer require shpartko/madsms
That's all. The package will automatically register itself., (*5)
If you want use notifications, you must install the Guzzle HTTP library via Composer:, (*6)
composer require guzzlehttp/guzzle
And after that you must config notifications section in your config/madsms.php and MAIL section in .env file., (*7)
You can publish the config, lang and views files with:, (*8)
php artisan vendor:publish --provider="Shpartko\Madsms\MadServiceProvider"
You can register MadSMS facades in your config\app.php in aliases section:, (*9)
'aliases' => [
'Madsms' => Shpartko\Madsms\Facades\Madsms::class,
'SuperMadsms' => Shpartko\Madsms\Facades\SuperMadsms::class,
],
After that you can use short path for access to MadSMS, for example:, (*10)
Madsms::getGateway()->getGatewayName(); or SuperMadsms::getRandomGateway()->getGatewayName();
For get results of working this package, please, pick one of this url: http(s)://your-domain/madsms or http(s)://your-domain/supermadsms., (*11)
For example: http://localhost/madsms or http://localhost/supermadsms, (*12)
Or you can see how it's work on my domain: madsms and supermadsms., (*13)
php artisan package:discover php artisan route:clear php artisan config:clear php artisan clear-compiled
Send sms via random providers
MIT