2017 © Pedro Peláez
 

yii2-extension yii2-twillio

yii 2 twillio integration

image

havryliv/yii2-twillio

yii 2 twillio integration

  • Friday, December 16, 2016
  • by havryliv
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Yii 2 Twillio

twillio for yii 2, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist havryliv/yii2-twillio "*"

or add, (*4)

"havryliv/yii2-twillio": "*"

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

Usage

Once the extension is installed, you should configure it in the application configuration like the following,, (*6)

'components' => [
    'twillio' => [
        'class' => 'havryliv\twillio\Twillio',
        'sid' => 'your_sid',
        'token' => 'your_token',
    ]
]

** Creating a customer, (*7)

$twillio = Yii::$app->twillio;
$message = $twillio->getClient()->account->messages->sendMessage(
    '9991231234', // From a valid Twilio number
    '8881231234', // Text this number
    "Hello monkey!"
)

print $message->sid;

The Versions

16/12 2016

dev-master

9999999-dev

yii 2 twillio integration

  Sources   Download

MIT

The Requires

 

by Yaroslav Havryliv
by Bryan Tan
by Grzegorz Kurtyka

yii2 extension php twillio

22/03 2016

v1.0-RC2

1.0.0.0-RC2

yii 2 twillio integration

  Sources   Download

MIT

The Requires

 

by Yaroslav Havryliv
by Bryan Tan
by Grzegorz Kurtyka

yii2 extension php twillio

22/03 2016

v1.0-RC

1.0.0.0-RC

yii 2 twillio integration

  Sources   Download

MIT

The Requires

 

by Yaroslav Havryliv
by Bryan Tan
by Grzegorz Kurtyka

yii2 extension php twillio