2017 © Pedro Peláez
 

yii2-extension yii2-twilio

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

image

dpodium/yii2-twilio

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  • Friday, January 5, 2018
  • by dpodium
  • Repository
  • 5 Watchers
  • 0 Stars
  • 610 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 11 Versions
  • 9 % Grown

The README.md

Yii2 Twilio

Twilio yii2 wrapper. Enable twilio services in yii2 application., (*1)

Installation

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

Either run, (*3)

php composer.phar require dpodium/yii2-twilio "*"

or add, (*4)

"dpodium/yii2-twilio": "*"

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

Component Setup

Once the extension is installed, simply modify your application configuration as follows:, (*6)

return [
    'components' => [
    ...
        'twilio' => [
                   'class' => dpodium\yii2\Twilio\TwilioManager::class,
                   'config' => [
                                   'sid' => API_SID, //from twilio
                                   'token' => API_TOKEN, //from twilio
                               ],
                   //leave blank if not applicable
                   'proxy' => [
                                   'host' => HOST,
                                   'port' => PORT,
                               ],
               ],
        ...
    ],
    ...
];

Usage, (*7)


Sending message
Yii::$app->twilio->sendSms(TO, FROM, 'Test Message');

Make call
Yii::$app->twilio->call(TO, FROM);

Lookup phone info
Yii::$app->twilio->lookup(PHONENO);

Generating TwiML
Yii::$app->twilio->generateTwiml();

The Versions

05/01 2018

dev-master

9999999-dev

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

10/08 2017

1.5

1.5.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

11/05 2017

1.4

1.4.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

18/08 2016

1.3

1.3.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

21/07 2016

1.2

1.2.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

21/07 2016

1.1

1.1.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

20/07 2016

1.0

1.0.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

20/07 2016

0.4

0.4.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

19/07 2016

0.3

0.3.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

19/07 2016

0.2

0.2.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio

19/07 2016

0.1

0.1.0.0

Yii2 twilio is a wrapper for the Twilio PHP library. Allow yii2 application to use twilio services.

  Sources   Download

BSD

The Requires

 

yii2 sms twilio