nuffic/yii2-messente
Composer 安装命令:
composer require nuffic/yii2-messente
包简介
Messente component for Yii 2 framework
README 文档
README
Yii component for sending text messages to messente. Before sending to messente, it also checks if phone number is valid for specified country and if phone type is mobile.
How to use?
##Installation with Composer
Just add the line under require object in your composer.json file.
{
"require": {
"nuffic/yii2-messente" : "dev-develop"
}
}
then run
$> composer update
##Configuration
Now add following in to your components section of config.
'sms' => [ 'class' => 'nuffic\messente\SMS', 'username' => '<your API username>', 'password' => '<your API password>', 'from' => '<default sender>' #optional ],
##Usage
Yii::$app->sms->send('EE', 'Content here', '+372 111 1111', 'SenderHere');
统计信息
- 总下载量: 149
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-11-03