dev-master
9999999-dev https://github.com/netpro9/yii2-messenteA Yii2 component for working with TurboSMS.ua SOAP service
MIT
The Requires
- php >=5.4.0
- yiisoft/yii2 *
- ext-soap *
by Rainari Argel
yii2 sms soap messente
Wallogit.com
2017 © Pedro Peláez
A Yii2 component for working with TurboSMS.ua SOAP service
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)
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)
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)
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',
]
...
]
...
];
usernameThe username used for authentication on TurboSMS SOAP service., (*12)
passwordThe password used for authentication on TurboSMS SOAP service., (*13)
alphaNameThe name that users will see as the message sender name., (*14)
As simple as:, (*15)
Yii::$app->sms->send(['+380501234567', '+380502345678'], 'Hello world!');
Please refer to the class documentation for more methods and options., (*16)
yii2-turbosms is released under the MIT License. See the bundled LICENSE.md for details., (*17)
A Yii2 component for working with TurboSMS.ua SOAP service
MIT
yii2 sms soap messente