2017 © Pedro Peláez
 

yii2-extension yii2-sms

The message sender. The package includes sending for service turbosms.

image

gud3/yii2-sms

The message sender. The package includes sending for service turbosms.

  • Tuesday, September 5, 2017
  • by gud3
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 9 % Grown

The README.md

Sms sender

The message sender. The package includes sending for service TurboSMS, SmsAPI., (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist gud3/yii2-sms "*"

or add, (*4)

"gud3/yii2-sms": "*"

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

Usage

To use this extension, simply add the following code in your application configuration:, (*6)

sender name for turbo sms by default 'Msg', (*7)

return [
    //....
    'components' => [
        'sms' => [
            'class' => 'gud3\sms\Client',
            'sender' => 'Display name',
            'service' => [
                'class' => 'gud3\sms\Services\SmsApi', // or TurboSms
                'login' => '***',
                'password' => '***',
            ],
        ],
    ],
];

You can then send an sms in queue as follows:, (*8)

Yii::$app->sms->send('+**********', 'This is text of test message');
Yii::$app->sms->send(['+**********', '+**********'], 'This is text of test message');

The Versions

05/09 2017

dev-master

9999999-dev

The message sender. The package includes sending for service turbosms.

  Sources   Download

Apache-2.0

The Requires

 

by Avatar ElisDN
by Avatar gud3

yii2 sms turbosms sms sender.

29/04 2017

1.0.0

1.0.0.0

The message sender. The package includes sending for service turbosms.

  Sources   Download

Apache-2.0

The Requires

 

by Avatar ElisDN
by Avatar gud3

yii2 sms turbosms sms sender.