2017 © Pedro Peláez
 

library twiliosdk

image

intelogie/twiliosdk

  • Monday, July 30, 2018
  • by bgauthier
  • Repository
  • 1 Watchers
  • 0 Stars
  • 61 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 415 Forks
  • 0 Open issues
  • 87 Versions
  • 11 % Grown

The README.md

Build Status, (*1)

Installation

You can install twilio-php via composer or by downloading the source., (*2)

Via Composer:

twilio-php is available on Packagist as the twilio/sdk package., (*3)

Via ZIP file:

Click here to download the source (.zip) which includes all dependencies., (*4)

Once you download the library, move the twilio-php folder to your project directory and then include the library file:, (*5)

require '/path/to/twilio-php/Services/Twilio.php';

and you're good to go!, (*6)

A Brief Introduction

With the twilio-php library, we've simplified interaction with the Twilio REST API. No need to manually create URLS or parse XML/JSON. You now interact with resources directly. Follow the Quickstart Guide to get up and running right now. The User Guide shows you how to get the most out of twilio-php., (*7)

Quickstart

Send an SMS

account->messages->sendMessage(
  '9991231234', // From a valid Twilio number
  '8881231234', // Text this number
  "Hello monkey!"
);

print $message->sid;
```

### Make a Call

```php
account->calls->create(
  '9991231234', // From a valid Twilio number
  '8881231234', // Call this number

  // Read TwiML at this URL when a call connects (hold music)
  'http://twimlets.com/holdmusic?Bucket=com.twilio.music.ambient'
);
```

### Generating TwiML

To control phone calls, your application needs to output
[TwiML](http://www.twilio.com/docs/api/twiml/ "Twilio Markup Language"). Use
`Services_Twilio_Twiml` to easily create such responses.

```php
say('Hello');
$response->play('https://api.twilio.com/cowbell.mp3', array("loop" => 5));
print $response;
```

That will output XML that looks like this:

```xml

<Response>
    <Say>Hello</Say>
    <Play loop="5">https://api.twilio.com/cowbell.mp3</Play>
<Response>

Full Documentation

The documentation for twilio-php is hosted at Read the Docs. Click here to read our full documentation., (*8)

Prerequisites

  • PHP >= 5.2.3
  • The PHP JSON extension

Getting help

If you need help installing or using the library, please contact Twilio Support at help@twilio.com first. Twilio's Support staff are well-versed in all of the Twilio Helper Libraries, and usually reply within 24 hours., (*9)

If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!, (*10)

The Versions

30/07 2018

dev-develop

dev-develop

  Sources   Download

01/04 2018

2.0.0

2.0.0.0

  Sources   Download

01/04 2018

2.0.1

2.0.1.0

  Sources   Download

01/04 2018

2.0.2

2.0.2.0

  Sources   Download

01/04 2018

2.0.3

2.0.3.0

  Sources   Download

01/04 2018

2.0.4

2.0.4.0

  Sources   Download

01/04 2018

2.0.5

2.0.5.0

  Sources   Download

01/04 2018

2.0.6

2.0.6.0

  Sources   Download

01/04 2018

2.0.7

2.0.7.0

  Sources   Download

01/04 2018

2.0.8

2.0.8.0

  Sources   Download

01/04 2018

3.0.0

3.0.0.0

  Sources   Download

01/04 2018

3.0.1

3.0.1.0

  Sources   Download

01/04 2018

3.2.0

3.2.0.0

  Sources   Download

01/04 2018

3.2.1

3.2.1.0

  Sources   Download

01/04 2018

3.2.2

3.2.2.0

  Sources   Download

01/04 2018

3.2.3

3.2.3.0

  Sources   Download

01/04 2018

3.2.4

3.2.4.0

  Sources   Download

01/04 2018

3.3.2

3.3.2.0

  Sources   Download

30/05 2016

dev-master

9999999-dev http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

14/04 2016

dev-next-gen

dev-next-gen http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Twilio API Team

api sms twilio

28/03 2016

5.0.0-RC3

5.0.0.0-RC3 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Twilio API Team

api sms twilio

15/03 2016

5.0.0-RC2

5.0.0.0-RC2 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Twilio API Team

api sms twilio

10/03 2016

dev-fix-paging

dev-fix-paging http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

08/03 2016

dev-taskrouter-capability

dev-taskrouter-capability http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

26/02 2016

5.0.0-RC1

5.0.0.0-RC1 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Twilio API Team

api sms twilio

17/02 2016

dev-twilio-capability-autoload

dev-twilio-capability-autoload http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

29/01 2016

dev-edge

dev-edge http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

29/01 2016

4.10.0

4.10.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

23/01 2016

4.9.2

4.9.2.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

20/01 2016

4.9.1

4.9.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

20/01 2016

dev-add-actions-addresses

dev-add-actions-addresses http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

17/12 2015

4.9.0

4.9.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

17/12 2015

dev-ip-messaging

dev-ip-messaging http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

09/12 2015

4.8.1

4.8.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

09/12 2015

4.8.0

4.8.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

03/12 2015

dev-identity-tokens

dev-identity-tokens http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

03/12 2015

4.7.0

4.7.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

30/11 2015

dev-fix-grants

dev-fix-grants http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

21/11 2015

dev-edge-release

dev-edge-release http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

10/11 2015

4.6.1

4.6.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

30/10 2015

4.6.0

4.6.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

23/09 2015

4.5.0

4.5.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

21/09 2015

4.4.0

4.4.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

11/08 2015

4.3.0

4.3.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

09/06 2015

4.2.1

4.2.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

30/05 2015

dev-token-generation-broken-link

dev-token-generation-broken-link http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

19/05 2015

4.2.0

4.2.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

07/05 2015

4.1.0

4.1.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

07/05 2015

4.0.4

4.0.4.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

29/04 2015

4.0.3

4.0.3.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

27/04 2015

4.0.2

4.0.2.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

22/04 2015

4.0.1

4.0.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

16/04 2015

4.0.0

4.0.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

08/04 2015

dev-addresses-create

dev-addresses-create http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

31/03 2015

3.13.1

3.13.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

20/02 2015

3.13.0

3.13.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

02/01 2015

dev-ssl-cert-instructions

dev-ssl-cert-instructions http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

04/12 2014

3.12.8

3.12.8.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

21/11 2014

3.12.7

3.12.7.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

13/11 2014

3.12.6

3.12.6.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

28/10 2014

dev-remove-pinned-certs

dev-remove-pinned-certs http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

15/07 2014

3.12.5

3.12.5.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

03/05 2014

dev-add-unmute-function

dev-add-unmute-function http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

31/01 2014

5.2.x-dev

5.2.9999999.9999999-dev http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

30/01 2014

3.12.4

3.12.4.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

30/01 2014

3.12.3

3.12.3.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

29/01 2014

dev-user-agent

dev-user-agent http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

24/01 2014

3.12.2

3.12.2.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

06/01 2014

dev-std-class

dev-std-class http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

21/10 2013

3.12.1

3.12.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

17/10 2013

dev-transcription

dev-transcription http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

18/09 2013

3.12.0

3.12.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

02/02 2013

3.10.0

3.10.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

30/12 2012

3.9.1

3.9.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

20/12 2012

3.9.0

3.9.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

15/12 2012

3.8.3

3.8.3.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

27/11 2012

3.8.2

3.8.2.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

24/11 2012

3.8.1

3.8.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

17/10 2012

3.8.0

3.8.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

13/09 2012

3.7.2

3.7.2.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

31/08 2012

dev-sid-validation

dev-sid-validation http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

16/08 2012

3.7.1

3.7.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

06/08 2012

3.7.0

3.7.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

06/08 2012

3.6.0

3.6.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

23/07 2012

3.5.2

3.5.2.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

03/07 2012

3.5.1

3.5.1.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio

30/06 2012

3.5.0

3.5.0.0 http://github.com/twilio/twilio-php

A PHP wrapper for Twilio's API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

The Development Requires

by Kevin Burke
by Kyle Conroy

api sms twilio