nuffic/yii2-messente 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-11-03