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: 2024-12-11 05:33:44 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: 使用