yii-dream-team / smspilot
Yii Dream Team 开发的用于操作 smspilot.ru api 的 PHP 类
1.2.0
2016-05-05 10:15 UTC
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^6.0
This package is auto-updated.
Last update: 2024-09-17 19:21:03 UTC
README
Yii Dream Team 开发的用于操作 smspilot.ru api 的 PHP 类。
安装
安装此扩展的首选方式是通过 composer。
运行以下命令:
php composer.phar require --prefer-dist yii-dream-team/smspilot "*"
或将以下内容添加到您的 composer.json 文件中的 require
部分:
"yii-dream-team/smspilot": "*"
require
使用方法
授权
$api = new \yiidreamteam\smspilot\Api($apiId);
发送短信
$api->send('79112223344', 'Text message');
$api->send('79112223344', 'Text message', 'Sender', 'messageId');
许可证
MIT