2017 © Pedro Peláez
 

yii2-extension yii2-messente

A Yii2 component for working with TurboSMS.ua SOAP service

image

netpro9/yii2-messente

A Yii2 component for working with TurboSMS.ua SOAP service

  • Monday, October 13, 2014
  • by netpro9
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 TurboSMS

TurboSMS component gives you an ability to send SMS messages via TurboSMS.ua SMS gateway., (*1)

This component is built with use of TurboSMS SOAP service., (*2)

Latest Stable Version Code Climate Scrutinizer Code Quality Version Eye License, (*3)

Requirements

  • Yii 2.0 (dev-master)
  • PHP 5.4
  • PHP extension SOAP

Note: This extension mandatorily requires Yii Framework 2. The framework is under active development and there are now stable release of Yii 2 for now., (*4)

Installation

The preferred way to install this extension is through Composer., (*5)

Either run, (*6)

php composer.phar require kop/yii2-turbosms "dev-master", (*7)

or add, (*8)

"kop/yii2-turbosms": "dev-master", (*9)

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

Setup

All you need is to declare a new component in your application configuration file like follows:, (*11)

return [
    ...
    'components' => [
        ...
        'sms' => [
            'class' => '\kop\y2ts\TurboSMS',
            'username' => '<<< YOUR USERNAME HERE >>>'
            'password' => '<<< YOUR PASSWORD HERE >>>',
            'alphaName' => 'MyWebsite',
        ]
        ...
    ]
    ...
];

Configuration

username

The username used for authentication on TurboSMS SOAP service., (*12)

password

The password used for authentication on TurboSMS SOAP service., (*13)

alphaName

The name that users will see as the message sender name., (*14)

Usage

As simple as:, (*15)

Yii::$app->sms->send(['+380501234567', '+380502345678'], 'Hello world!');

Please refer to the class documentation for more methods and options., (*16)

Report

License

yii2-turbosms is released under the MIT License. See the bundled LICENSE.md for details., (*17)

Resources

The Versions

13/10 2014

dev-master

9999999-dev https://github.com/netpro9/yii2-messente

A Yii2 component for working with TurboSMS.ua SOAP service

  Sources   Download

MIT

The Requires

 

by Rainari Argel

yii2 sms soap messente