lyxxs / elasticsearch-openapi
一个示例测试
1.0
2018-08-16 13:16 UTC
This package is not auto-updated.
Last update: 2024-09-29 05:44:33 UTC
README
laravelsms 是一个依赖云通讯的laravel短信扩展包
使用方法 在composer中引入"marlon/yuntongxun": "0.1.1" 在laravel的app/config/app.php中添加以下内容 providers数组中添加'Marlon\Yuntongxun\YuntongxunServiceProvider' aliases数组中添加'Sms' => 'Marlon\Yuntongxun\Yuntongxun' 根据情况执行composer install命令或者composer update命令 在laravel根目录执行php artisan config:publish marlon/yuntongxun 在app/config/package/yuntongxun/config/config.php设置你的云通讯相关信息 示例代码
'18635634441', 发送的手机号 * 'status' => '0' 状态码,状态码为0的情况下为发送成功 * ) 注意:已经很久没有更新了,今天正式宣布停止更新。主要原因还是因为这个东西只针对一个短信服务商。刚刚自己又测了下,目前还是可以用的。