moego/service-sms-php-yii-sdk

There is no license information available for the latest version (0.1.2) of this package.

moego sms yii client

0.1.2 2020-01-13 08:01 UTC

This package is not auto-updated.

Last update: 2021-04-06 12:18:06 UTC


README

Support Yii.

Step1: 安装, composer require "yiiplus/yii2-smser"

Step2: 完善配置文件 到config/main.php 配置文件:

	'sms' => [
        'class' => 'Moego\Sms\Extensions\Message',
        'productId' => 'xxxxxx',
        'productKey' => 'xxxxxxxxx',
        'templates' => [
            'VerificationCodeTemplateId' => 'xxx',
        ],
        'host' => 'xxxxxxx', 
        'kafka' => ''      
    ],

Step3: 使用