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

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Open Issues: 0

pkg:composer/moego/service-sms-php-yii-sdk

0.1.2 2020-01-13 08:01 UTC

This package is not auto-updated.

Last update: 2025-10-15 09:25:18 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: 使用