lbhurtado / sms
Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky
Installs: 3 046
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ~7.1||^8.0.1
- illuminate/support: ^8.0||^9.0|^10.0|^11.0
- lbhurtado/common: ^2.2.0
- lbhurtado/engagespark: ^3.2
Requires (Dev)
- orchestra/testbench: ^6.4
- phpunit/phpunit: ^9.3.3
README
Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky.
Installation
You can install the package via composer:
composer require lbhurtado/sms
modify environment vairables
ENGAGESPARK_API_KEY= ENGAGESPARK_ORGANIZATION_ID= ENGAGESPARK_SENDER_ID=
Usage
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) ;
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email lester@hurtado.ph instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.