Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky.
You can install the package via composer:
composer require lbhurtado/sms
modify environment vairables
ENGAGESPARK_API_KEY=
ENGAGESPARK_ORGANIZATION_ID=
ENGAGESPARK_SENDER_ID=
use LBHurtado\SMS\Facades\SMS;
$mobile = '+639171234567';
$message = 'The quick brown fox...';
$amount = 25;
$senderId = 'TXTCMDR';
SMS::channel('engagespark')
->from($senderId)
->to($mobile)
->content($message)
->send()
->topup(25)
;
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email lester@hurtado.ph instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.