A Laravel wrapper for sending SMS through Smart Connect SMS API.
- Laravel 5.5+
- PHP 7+
- Guzzle 6+
- Carbon 1.0+
You can install laravel-smartconnect
package via composer.
composer require coredevsolutions/laravel-smartconnect
Register provider and aliases on your config/app.php
file.
'providers' => [
CoreDev\LaravelSmartConnect\SmartServiceProvider::class,
],
'aliases' => [
'Smart' => CoreDev\LaravelSmartConnect\Smart::class,
],
You can use it like this:
use Smart;
Smart::send('phone_number', 'message', 'username', 'password');