amani64 / sms
该软件包最新版本(1.3.3)没有提供许可证信息。
Laravel SMS软件包
1.3.3
2019-07-17 08:04 UTC
Requires
- kavenegar/php: 1.2.1
README
安装
composer require amani64/sms
将提供者添加到app.php
Amani64\SMS\SMSServiceProvider::class
发布
php artisan vendor:publish
迁移
php artisan migrate
设置驱动
在config/sms.php中
'driver' => 'isms'
并为了将发送的短信保存到数据库,将log_response
设置为true
'log_response' => true
用法
SMS::send(mobiles,message);
支持的短信服务
- Kavenegar
- ISMS
- Candoo