2017 © Pedro Peláez
 

yii2-extension yii2-turbosms

Yii2 TurboSMS

image

stern87/yii2-turbosms

Yii2 TurboSMS

  • Thursday, October 26, 2017
  • by Stern87
  • Repository
  • 1 Watchers
  • 2 Stars
  • 161 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 16 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Yii2 turbosms

Yii2 turbosms, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist integready/yii2-turbosms "*"

or add, (*4)

"integready/yii2-turbosms": "*"

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

Basic setup

You should have registered account at http://turbosms.ua/, (*6)

Configuration

Add the following in your config:, (*7)

<?php
...
    'components' => [
        'turbosms' => [
            'class' => 'integready\turbosms\Turbosms',
            'viewPath' => '@app/sms',
            'sender' => 'your_sender',
            'login' => 'your_login',
            'password' => 'your_password',
        ],
        ...
    ],
...

If you want test sms in debug mode change config:, (*8)

<?php
...
    'components' => [
        'turbosms' => [
            'class' => 'integready\turbosms\Turbosms',
            'viewPath' => '@app/sms',
            'sender' => 'your_sender',
            'login' => 'your_login',
            'password' => 'your_password',
            'debug' => true,
        ],
        ...
    ],
...

in debug mode sms not send only add to db table., (*9)

Usage

Once the extension is installed, simply use it like a mailer in your code by :, (*10)

php <?php \Yii::$app->turbosms->compose('test-text', ['data' => $data]) ->setTo('+380XXXXXXXXX') ->send(); ?>, (*11)

License

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

The Versions

26/10 2017

dev-master

9999999-dev https://github.com/IntegReady/yii2-turbosms

Yii2 TurboSMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by IntegReady

helpers extension yii2 sms turbosms

27/02 2017

1.0.3

1.0.3.0 https://github.com/IntegReady/yii2-turbosms

Yii2 TurboSMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by IntegReady

helpers extension yii2 sms turbosms

07/02 2017

1.0.2

1.0.2.0

Yii2 TurboSMS

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

26/08 2016

1.0.1

1.0.1.0

Yii2 TurboSMS

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

10/01 2016

1.0

1.0.0.0

Yii2 TurboSMS

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms