Textlocal sms gateway wrapper for Laravel
A simple PHP API extension for Textlocal(textlocal.in) sms gateway integration in Laravel, (*1)
Require this package in your composer.json and update composer. This will download the package., (*2)
composer require rahulreghunath/textlocal
After updating composer, add the ServiceProvider to the providers array in config/app.php, (*3)
Rahulreghunath\Textlocal\ServiceProvider::class,
packege auto discovery available for laravel version 5.5 or later, (*4)
After adding ServiceProvider, Run the command, (*5)
php artisan vendor:publish
After that set your textlocal authentication key inside textlocal.php file inside config folder and you are good to go, (*6)
$sms = new Textlocal(); $sms->send('message', 'mobile number','sender'); //sender is optional
### Documentation You can check https://api.textlocal.in/docs/phpclass for more available methods and complete Documentation can be found here, (*7)