Skip to content

cybercog/yii2-turbosms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 turbosms

Yii2 turbosms

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"avator/yii2-turbosms": "*"

to the require section of your composer.json file.

Basic setup

Configuration

Add the following in your config:

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

Usage

Once the extension is installed, simply use it in your code by :

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

License

yii2-turbosms is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.

About

Yii2 send sms from turbosms.ua by SOAP

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • PHP 100.0%