https://github.com/scolib/laravel-easy-sms
Easy SMS For Laravel 5.*
https://github.com/scolib/laravel-easy-sms
Last synced: 12 months ago
JSON representation
Easy SMS For Laravel 5.*
- Host: GitHub
- URL: https://github.com/scolib/laravel-easy-sms
- Owner: ScoLib
- License: mit
- Created: 2019-05-20T12:34:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T12:33:26.000Z (about 7 years ago)
- Last Synced: 2025-06-07T18:08:42.065Z (about 1 year ago)
- Language: PHP
- Homepage: https://scolib.github.io/laravel-easy-sms/
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Laravel Easy SMS
[Easy SMS](https://github.com/overtrue/easy-sms) For Laravel 5.*
[](https://packagist.org/packages/scolib/laravel-easy-sms) [](https://packagist.org/packages/scolib/laravel-easy-sms) [](https://packagist.org/packages/scolib/laravel-easy-sms) [](https://packagist.org/packages/scolib/laravel-easy-sms)
[](https://packagist.org/packages/scolib/laravel-easy-sms)
[](https://codeclimate.com/github/ScoLib/laravel-easy-sms)
## Install
Via Composer
``` bash
$ composer require scolib/laravel-easy-sms
```
## Publish Configuration
```php
php artisan vendor:publish --provider "Sco\LaravelEasySms\LaravelServiceProvider"
```
## Usage
``` php
EasySms::send(13188888888, [
'content' => '您的验证码为: 6379',
'template' => 'SMS_001',
'data' => [
'code' => 6379
],
]);
// .....
$order = ...;
$message = new OrderPaidMessage($order);
EasySms::send(13188888888, $message);
```
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.
## Security
If you discover any security related issues, please email slice1213@gmail.com instead of using the issue tracker.
## Credits
- [klgd](https://github.com/klgd)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.