2017 © Pedro Peláez
 

yii2-extension yii2-smser

Yii2 Smser Component

image

emnabs/yii2-smser

Yii2 Smser Component

  • Thursday, June 1, 2017
  • by emnabs
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2 Smser Component

Smser is a component based sms solution for Yii2.It is released under the BSD 3-Clause license., (*1)

Latest Stable Version Total Downloads License, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist emnabs/yii2-smser "*"

or add, (*5)

"emnabs/yii2-smser": "*"

to the require section of your composer.json., (*6)

Usage

To use this extension, you have to configure the Connection class in your application configuration:, (*7)

//configure component:
return [
    //....
    'components' => [
    //....
        'smser' => [
            'class' => 'emhome\smser\Smser',
        ],
    //....
    ]
];

Usage example, (*8)

Yii::$app->smser->compose()
    ->setMobile(['手机号码'])
        ->setContent('短信内容')
        ->send();

包含接口

License

yii2-smser is released under the BSD 3-Clause License. See the bundled LICENSE.md for details., (*9)

The Versions

01/06 2017

dev-master

9999999-dev https://github.com/emnabs/yii2-smser

Yii2 Smser Component

  Sources   Download

BSD 3-Clause

The Requires

 

by emhome

extension yii2 smser

31/05 2017

1.0.0

1.0.0.0 https://github.com/emnabs/yii2-smser

Yii2 Smser Component

  Sources   Download

BSD 3-Clause

The Requires

 

by emhome

extension yii2 smser