hyancat/aliyun-sms-php
Composer 安装命令:
composer require hyancat/aliyun-sms-php
包简介
阿里云 SMS
README 文档
README
阿里云短信服务 for PHP.
Deprecated!!!
Use https://github.com/HyanCat/short-messenger instead.
Installation
composer require hyancat/aliyun-sms-php
Usage
In a general way
$sms = new SmsService('[TEST_APP_ID]', '[TEST_APP_KEY]'); $sms->send('[PHONE_NUMBER]', function ($message) { $message->template('[TEMPLATE_NAME]')->with([ 'code' => '我是验证码', 'product' => '我是产品', ])->signName('我是签名'); });
For laravel or lumen
Todo...
License
The source code is under MIT License.
统计信息
- 总下载量: 74
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-18