2017 © Pedro Peláez
 

yii2-extension yii2-turbosms

Yii2 turbosms

image

demoniacdeath/yii2-turbosms

Yii2 turbosms

  • Monday, September 19, 2016
  • by DemoniacDeath
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 16 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Yii2 turbosms

Yii2 send sms from Turbosms.ua by SOAP, (*1)

Installation

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

Either run, (*3)

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

or add, (*4)

"demoniacdeath/yii2-turbosms": "*"

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

Subsequently, run, (*6)

./yii migrate/up --migrationPath=@vendor/demoniacdeath/yii2-turbosms/migrations

Basic setup

You should: * registered account at http://turbosms.ua/ * add sender in page https://turbosms.ua/sign/add.html * create login and password for soap api in page https://turbosms.ua/route.html, (*7)

Configuration

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

<?php
...
    'components' => [
        'turbosms' => [
            'class' => 'demoniacdeath\turbosms\Turbosms',
            'sender' => 'your_sender',
            'login' => 'your_login',
            'password' => 'your_password',
        ],
        ...
    ],
...

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

<?php
...
    'components' => [
        'turbosms' => [
            'class' => 'demoniacdeath\turbosms\Turbosms',
            'sender' => 'your_sender',
            'login' => 'your_login',
            'password' => 'your_password',
            'debug' => true,
        ],
        ...
    ],
...

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

Usage

Once the extension is installed, simply use it in your code by :, (*11)

php <?php Yii::$app->turbosms->send('test', '+380XXXXXXXXX'); ?>, (*12)

TODO

  • Translate message
  • Save log to file

License

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

The Versions

19/09 2016

dev-master

9999999-dev

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub
by Michael Skvortsov

helpers extension yii2 sms turbosms

19/09 2016

1.0.9

1.0.9.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub
by Michael Skvortsov

helpers extension yii2 sms turbosms

19/09 2016

1.0.8

1.0.8.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

26/07 2016

1.0.7

1.0.7.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

20/01 2016

1.0.6

1.0.6.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

30/06 2015

1.0.5

1.0.5.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

31/01 2015

1.0.4

1.0.4.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

30/01 2015

1.0.3

1.0.3.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

23/12 2014

1.0.2

1.0.2.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

12/12 2014

1.0.1

1.0.1.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms

12/12 2014

1.0

1.0.0.0

Yii2 turbosms

  Sources   Download

BSD-3-Clause

The Requires

 

by Oleksii Golub

helpers extension yii2 sms turbosms