Laravel Easy SMS
Easy SMS For Laravel 5.*
Install
Via Composer
$ composer require scolib/laravel-easy-sms
Publish Configuration
php artisan vendor:publish --provider "Sco\LaravelEasySms\LaravelServiceProvider"
Usage
EasySms::send(13188888888, [
'content' => '您的验证码为: 6379',
'template' => 'SMS_001',
'data' => [
'code' => 6379
],
]);
// .....
$order = ...;
$message = new OrderPaidMessage($order);
EasySms::send(13188888888, $message);
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email slice1213@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.