xutl/yii2-sms

The sms extension for the Yii framework

Maintainers

Details

github.com/xutl/yii2-sms

Source

Issues

Installs: 1 362

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

2.0.5 2017-11-27 11:56 UTC

This package is auto-updated.

Last update: 2022-05-10 21:44:05 UTC


README

Latest Stable Version Total Downloads Reference Status Build Status Dependency Status License

Installation

Next steps will guide you through the process of installing yii2-admin using composer. Installation is a quick and easy three-step process.

Step 1: Install component via composer

Either run

composer require --prefer-dist xutl/yii2-sms

or add

"xutl/yii2-sms": "~2.0.0"

to the require section of your composer.json.

Step 2: Configuring your application

Add following lines to your main configuration file:

'modules' => [
    'sms' => [
        'class' => 'xutl\sms\clients\Aliyun',
        //etc 
    ],
],

Step 3: Configuring your sms template

继承 xutl\sms\SendJob 实现你的短信发送个,在SendJob子类中设定模板什么的。发送直接推给队列了。由队列负责发送。

License

This is released under the MIT License. See the bundled LICENSE.md for details.