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