承接 marqu3s/nrsgateway 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

marqu3s/nrsgateway

Composer 安装命令:

composer require marqu3s/nrsgateway

包简介

NRS Gateway services integration.

README 文档

README

360NRS Gateway services integration. This library allows you to use the SMS Push service from 360NRS Gateway.

Quick Start

Just put in your username and password for the NRSGateway control panel, specify the recipients in array format and send it.

use marqu3s\nrsgateway;

$nrs = new SMSService('username', 'password');
$nrs->to   = ['xxxxxxxxxxxxx', 'yyyyyyyyyyyyy'];
$nrs->from = 'Sender';
$nrs->msg  = 'This is a test message.';
$nrs->send();

Debugging/Logging

You can configure a log target to debug SMS sending. Configure it like this in your config/main.php file:

'log' => [
    'targets' => [
        [
            'class' => 'yii\log\FileTarget',
            'logFile' => '@runtime/logs/sms.log',
            'levels' => ['info'],
            'logVars' => [],
            'categories' => ['marqu3s\nrsgateway\SMSService::doSend'],
        ]
    ],
],

统计信息

  • 总下载量: 132
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固