yiiplus / yii2-smser
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
Requires
- php: >7.1
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is auto-updated.
Last update: 2024-10-13 19:25:55 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: 使用