ignatenkovnikita/yii2-sms-receiver
Composer 安装命令:
composer require ignatenkovnikita/yii2-sms-receiver
包简介
Client for service sms receiver
关键字:
README 文档
README
Client for service sms receiver
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ignatenkovnikita/yii2-sms-receiver "*"
or add
"ignatenkovnikita/yii2-sms-receiver": "*"
to the require section of your composer.json file.
Usage
Add this to your main configuration's components array:
'smsReceiver' => [ 'class' => \ignatenkovnikita\smssender\ClientSmsReceiver::className(), 'gate' => your_gate, 'credentials' => [ 'ID' => your_id_, 'name' => yout_name_, 'password' => your_pasword ], 'maxLimit' => your_limit ],
Typical component usage
Yii::$app->smsReceiver->getMessages(); Yii::$app->smsReceiver->sendMessage(your_short, your_phone, your_message);
统计信息
- 总下载量: 94
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-03-25