itsmh/yii2-payam-resan
Composer 安装命令:
composer require itsmh/yii2-payam-resan
包简介
payam-resan sms panel yii2 integration
README 文档
README
payam-resan sms panel yii2 integration
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist itsmh/yii2-payam-resan "*"
or add
"itsmh/yii2-payam-resan": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
'components' => [ 'sms' => [ 'class' => 'itsmh\yii2payamresan\sms', 'username' => "username-goes-here", 'password' => "password-goes-here", 'sendNumber' => "+98XXXXXXXXXXX" ], // other components ...
and in you app you can access it via Yii::$app->sms->send("Some text", "09XXXXXXXXX");
TO DO
- Send sms
- Get status of the message
- Send bulk sms
- Contacts
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-22