Skip to content
This repository
  • 403 commits
  • 122 files changed
  • 12 comments
  • 15 contributors
This comparison is big! We're only showing the most recent 250 commits
Aug 04, 2012
Kevin Burke DRY up request retry logic with call_user_func
Delete the other two helper functions. Works with all versions of PHP 5
00afb4d
Aug 05, 2012
Kevin Burke Add comments and fix formatting 16f0a93
Kevin Burke Bump version to 3.6.0 and add change note 10c50fc
Aug 06, 2012
Kevin Burke Make retryAttempts a protected object var c8d58f0
Kevin Burke Resolve merge conflict 41e2e97
Kevin Burke Bump version to 3.7.0 c6e61f1
Aug 16, 2012
Kevin Burke Document travis_install file 1337732
Kevin Burke Add failing test 9f9376d
Kevin Burke Don't update the URI when updating a resource
An InstanceResource would overwrite its URI if properties were retrieved or
updated on the object. However the URI returned from the API already has
'.json' appended to it, so when the library tries to also append .json, the
extension has been appended twice.

This is a similar bug to #71.
I have checked to try and make sure it cannot appear under any other
circumstances in the library.
3560a55
Kevin Burke Bump version to 3.7.1 d856837
Aug 22, 2012
Kevin Burke Ignore more directories in package.php
This way they won't be included in the pear download
c2302ba
Aug 28, 2012
alexcchan Fixing typo in delete phone number example code. 0ce0392
Kevin Burke Merge documentation fix from 'alex/master' 97a3022
Sep 02, 2012
Kevin Burke add alex chan to AUTHORS f294ec7
Sep 05, 2012
Luke Waite Updating minor documentation errors 2f57704
Kevin Burke Merge pull request #86 from lukewaite/master
Minor documentation fixes
324b51d
Sep 07, 2012
aaronfoss Update docs/usage/twiml.rst
Missing an ending parens.
ab57daa
Kevin Burke Merge pull request #87 from aaronfoss/master
Missing an ending parens in the conference TwiML example.
75aa0d5
Sep 11, 2012
Kevin Burke Add Aaron Foss to AUTHORS dd01f6f
Kevin Burke Merge branch 'master' of github.com:twilio/twilio-php 8787916
Sep 12, 2012
Kevin Burke Verify SSL with a standard CA cert whitelist
Uses the cacert.pem file generated by Mozilla, and curated here:
http://curl.haxx.se/docs/caextract.html

Tested extensively on a dev box.

Fixes #88
6198bfd
Sep 13, 2012
Kevin Burke Bump version to 3.7.2 f2d04ec
Sep 17, 2012
alexcchan Fixing typo in filtering calls example code. ca11101
Kevin Burke Merge pull request #90 from alexcchan/master
Fixing typo in filtering calls example code.
05e3211
Oct 08, 2012
Kevin Burke Make the Account.php file non-executable
Not sure why it was executable in the first place.
0f11443
Kevin Burke begin documenting usagerecord api 4670863
Kevin Burke Continue flushing out interface b4a65ff
Kevin Burke Add initial classes and begin work on UsageRecord 217bf60
Kevin Burke More changes to UsageRecords interface. 9209a9a
Kevin Burke Comment camelize() method 3fe07f0
Kevin Burke Rename UsageRecords to Records, add subresources. a306689
Kevin Burke More resourcename hacks b78a44a
Kevin Burke add test for timerange subresource 581c12d
Kevin Burke Rename usage->records to usage_records
It makes the implementation much simpler
a1aa0bd
Kevin Burke more juggling of resources and subresources 3fc97d4
Kevin Burke add another test ab925b9
Oct 09, 2012
Kevin Burke initial commit of usage triggers 729cb5d
Kevin Burke add failing paging test acc9ffa
Kevin Burke Comment getList docstring with variable names 57ad7b5
Oct 11, 2012
Kevin Burke Document and add tests for Usage Triggers 3ddbdba
Kevin Burke fix spacing in docstring d834f61
Oct 16, 2012
Kevin Burke Add <Enqueue> TwiML example. 3350226
Oct 17, 2012
Kevin Burke Merge branch 'usage' a387854
Kevin Burke delete failing tests f0a6ce5
Kevin Burke Bump version to 3.8.0 and add change note b7a8d41
Kevin Burke re-add test f025ab5
Kevin Burke update readme 26c190b
Kevin Burke Update changelog a8fa315
Nov 04, 2012
Kevin Burke Support the count() interface 30c3a6d
Kevin Burke Add tests a3bfcaa
Kevin Burke add documentation. 5523f11
Kevin Burke fix tests ebffacb
Nov 23, 2012
Kevin Burke add test for unicode url encoding 6f8aa57
Kevin Burke Removing things from gitignore that don't belong there 79951ea
Kevin Burke Removing things from gitignore that don't belong there eb1a457
Kevin Burke Add convenience function to retrieve a number object
The IncomingPhoneNumbers resource exposes getNumber(), which will make a
filtered API request for a phone number and try to return the first item in the
list.

Adds tests for this feature as well.
5ee65d5
Kevin Burke avoid possible parse error in empty() call 8f9de0d
Kevin Burke install travis-ci test deps using composer a732358
Kevin Burke Catch exceptions and return 0 instead of null
Add an extra test if the total() is missing.
Add inline documentation
cd1181a
Kevin Burke inline the page totals b46dcc7
Kevin Burke resolve test merge conflict 92fb26c
Kevin Burke Add documentation 9c45598
Kevin Burke Merge branch 'get-number' 4d89950
Kevin Burke Bump version to 3.8.1 and add change note 286fb6a
Nov 24, 2012
Kevin Burke add toString json serializer for resources 0336963
Kevin Burke add docstring 01a3d90
Nov 26, 2012
alexcchan Fix account->queue->members JSON property name. 86fc272
alexcchan Fix account->queue->members JSON property name. 1a0a254
Kevin Burke add failing test. f5e52b9
Kevin Burke fix test 2ea84be
Kevin Burke Bump version to 3.8.2 53a1182
Dec 03, 2012
Kevin Burke add shortcode resource 24ee9d3
Dec 14, 2012
Kevin Burke Add test for Shortcode resource retrieval 55ed0b5
Kevin Burke Add Neuman (@luciferous) to AUTHORS 2071879
Kevin Burke add comment to toString function 5a88808
Kevin Burke change short code sid to match prefix aeea70a
Kevin Burke Merge branch 'short-codes' 509bd2e
Kevin Burke case sensitive shortcode classname 690d5bd
Dec 15, 2012
Kevin Burke Merge branch 'short-codes' ce2ef42
Kevin Burke Bump version to 3.8.3 c48524c
Dec 20, 2012
Shawn Parker Fixing character encoding issues
The current version of the Twilio PHP library will take input passed in and run
it through the PHP `htmlentities` function. This produces "named" character
entities in the output. Named character entities and XML don't get along. Only
the 'quot', 'amp', 'apos', 'lt', and 'gt' entities are defined.

This change replaces the `htmlentities` call with an process that decodes the
input and then runs it through `htmlspecialchars` to produce "numeric" entities
instead.

This should accommodate most western character sets. Non standard (to php's
default htmlspecialchars) multi-byte character sets will fail silently in Twilio
(ie: say nothing) instead of throwing an application error.
914253d
Kevin Burke fix typo in comment 1e51ebd
Kevin Burke Bump version to 3.9.0 26e87d0
Dec 26, 2012
Kevin Burke add lastResponse attribute to the client var e69ab69
Dec 30, 2012
Kevin Burke snake case last response 180b81b
Kevin Burke Bump library to 3.9.1 35d765f
Kevin Burke fix warning in sphinx d4a45c5
Feb 01, 2013
Kevin Burke Use HTTP status code instead of status in JSON body
Sometimes the HTTP status is not included in the JSON body,
we should report the HTTP status code in the TwilioRestException,
not the one in the body of the message.
4364ec1
Kevin Burke refactor test c3c0788
Kevin Burke refactor twilio tests 75f4040
Kevin Burke Refactor some tests to use common http helpers 2c0dca2
Feb 02, 2013
Kevin Burke Bump library to 3.10.0 517bd12
Kevin Burke recovering file somehow undid the merge. 788b98f
Feb 14, 2013
Kevin Burke Document Sip TwiML 2baa9be
Kevin Burke fix sip example 4dbc0a9
Mar 06, 2013
Kevin Burke make the sip example pretty ce3567a
Kevin Burke forgot header c1ad9c4
May 15, 2013
alexcchan Fix typo in filter recordings example code. 346c80d
May 16, 2013
Kevin Burke Merge pull request #121 from alexcchan/master
Fix typo in filter recordings example code.
fbc9459
May 29, 2013
Taichiro Yoshida return 'static' object in _call method
sometimes I want to override __call method for some reason. For example I always want to call say method with language option "'language' => 'ja-jp');".
d7845cf
Kevin Burke Merge pull request #122 from lancardcom/master
return 'static' object in Services_Twilio_Twiml::_call method
2202d3e
Jun 01, 2013
Initial version of Twilio with App Engine Support. e7d44d0
Use preg_replace_callback rather than the /e option, which is not sup…
…ported on GAE.
cad15c7
Cleanup the URL fetch HTTP class. 0792f5c
Jun 04, 2013
Keith Casey removed preg_replace with /e modifier
switched from using preg_replace with /e as it's deprecated in 5.5 and
not supported in some environments;
while an anonymous function would work, by using create_function we can
stay 5.2 compatible
e975ffa
Keith Casey removed the /e modifier, left by accident c55c8c1
Keith Casey updating ignores e331abc
Jun 05, 2013
Stuart Langley Create a HTTP streams based twilio client. eef80ee
Stuart Langley Create a HTTP streams based twilio client. 01d97ab
Stuart Langley Add back the ability to specify a http client as part of the ctor. 80d055a
Taichiro Yoshida return 'static' object in _call method
sometimes I want to override __call method for some reason. For example I always want to call say method with language option "'language' => 'ja-jp');".
6746f89
Initial version of Twilio with App Engine Support. f7ba643
Use preg_replace_callback rather than the /e option, which is not sup…
…ported on GAE.
0ffe316
Cleanup the URL fetch HTTP class. faa8b9d
Stuart Langley Create a HTTP streams based twilio client. 0b41c70
Stuart Langley Create a HTTP streams based twilio client. 1f6eecd
Stuart Langley Add back the ability to specify a http client as part of the ctor. 5c8a85c
Stuart Langley Add back the ability to specify a http client as part of the ctor. d622a4c
Stuart Langley Merge remote-tracking branch 'origin/master'
Conflicts:
	Services/Twilio.php
20b2603
Jun 06, 2013
Keith Casey fixing a typo from the sms filtering example 2807332
Kevin Burke Merge pull request #125 from caseysoftware/docs-update
Docs update
992942f
Jun 12, 2013
Keith Casey Merge pull request #123 from caseysoftware/preg-refactor-e
Removed the preg_replace /e modifier in favor of using create_function
f1e4ff8
Jun 13, 2013
Keith Casey adding sjlangley's Streams implementation dadbcd0
Keith Casey merged in sjlangley's fixes
sjlangley@814ce39
4466ac13380022b
6cc2aff
Keith Casey Merge pull request #126 from caseysoftware/sjlangley_master
Merging SJLangley's fixes
9b5a674
Keith Casey incremented the user agent version
Incremented the user agent as Pull Request #126 completely removes the
curl dependency. Now instead of getting an error if curl isn't
installed, the library will fall back to PHP's Streams which should
always work.
a6586e7
Keith Casey Merge pull request #127 from caseysoftware/master
Incremented the user agent
2800da8
Jun 18, 2013
Keith Casey backed out the PHP 5.4-specific short array syntax f6f22f8
Keith Casey Merge pull request #129 from caseysoftware/master
backed out the PHP 5.4-specific short array syntax
732e6f6
Jul 18, 2013
Ryan Brideau Missing backslash f2fa0b1
Keith Casey Merge pull request #131 from Brideau/master
Missing backslash

Thanks Ryan, good catch.
e931821
Aug 16, 2013
Sam Kimbrel Add our own query string builder to handle multivalued params correctly 7222dba
Aug 19, 2013
Sam Kimbrel A first stab at MMS support a25b80c
Shawn Parker Services_Twilio_Media -> Services_Twilio_Rest_Media 9a9d9aa
Shawn Parker Fixing MediaList retrieval 9551d8d
Correct and improve the code example for validating a request from Tw…
…ilio
9cadf2b
Aug 28, 2013
Kevin Burke add test dependencies to php makefile 923f768
Kevin Burke no Images ff1f86e
Kevin Burke rename some resources 89d0489
Kevin Burke Move resources tests into their own file d693f77
Kevin Burke Fix message delete() dd89a87
Kevin Burke echo the phpunit command thats running 10c8c57
Kevin Burke uncomment failing test d77b4c2
Kevin Burke Add support for queryStringStyle da62c59
Aug 30, 2013
Kevin Burke s/MediaUrls/MediaUrl
turns out the library itself is naive to the implementation
b2509b8
Kevin Burke mediaurl in another place cd67d88
Aug 31, 2013
Kevin Burke ignore return code ,dont reverse it 1b7f22d
Kevin Burke update the interface of messages::create() e7dab73
Sep 01, 2013
Kevin Burke fix spacing 0be762b
Sep 03, 2013
Kevin Burke add commands to make the documentation 83f5730
Kevin Burke Port lots of the docs to use Sphinx.
Add more docs
90248b4
Kevin Burke one more link 9f0e050
Keith Casey added a custom error to start catching any http errors in a single place 6f36cc8
Keith Casey added a check to make sure openssl is enabled 152cd02
Keith Casey fixed the logic 2b3dcec
Sep 04, 2013
Doug Black initial sip-in work 078b254
Doug Black finalize sip-in 06c6337
Doug Black fixes from pull comments fc92a5a
Doug Black use SIPListResource for uri renaming acaa63f
Doug Black add docs c053c22
Doug Black Merge branch 'sip-in' of github.com:twilio/php-private into sip-in 4410e80
Sep 05, 2013
Doug Black sip docs fa1110c
Doug Black reword title 77989a8
Sep 06, 2013
Kevin Burke Typos 37ac777
Kevin Burke Redefine camelize for SIP b446fe8
Kevin Burke Rename Sip.php to please Linux 8b43c94
Sep 12, 2013
Kevin Burke Rename sendMms and sendSms to sendMessage 8a6413a
Kevin Burke Changes for the docs 5511bd2
Kevin Burke more docs fixes 2d64f77
Keith Casey fixed the case where a 4xx error would not populate the exception pro…
…perly and we'd end up with a wrong message

Credit goes to CostaC for his solution described here:
#133 (comment)
4243255
Kevin Burke Update docs d42d53d
Kevin Burke typo edb6b57
Sep 13, 2013
Keith Casey Merge pull request #138 from caseysoftware/master
Added a check for openssl support
551d5b9
Keith Casey explicitly set the http_build_query separator
implemented as described:
#139
1643af5
Doug Black use 'media_list' as entity key for media e665834
Doug Black typo 1572598
Doug Black add test 4afcb1d
Kevin Burke remove refs to sendMms 3dc02ac
Doug Black use correct count method 5cd900c
Doug Black hopefully fix test 2d9791c
Doug Black add paging parameters 60cc27f
Sep 14, 2013
Doug Black Merge branch 'master' of https://github.com/twilio/twilio-php into me…
…dia-list-fix
4ff901d
Doug Black Merge branch 'master' of github.com:twilio/twilio-php 83bfb2d
Sep 16, 2013
Kevin Burke Update README.md b816d70
Doug Black fix test 239430e
Doug Black Merge branch 'media-list-fix' 18a54c5
Doug Black Merge branch 'master' of github.com:twilio/php-private 5b3f6a9
Sep 18, 2013
Kevin Burke Update CHANGELOG 42561fb
Kevin Burke Autogenerate the AUTHORS file 708693b
Kevin Burke Merge branch 'master' of github.com:twilio/php-private 829bb90
Kevin Burke 3.12.0 d60ae45
Kevin Burke Add venv ignore to package.php d64816a
Sep 23, 2013
Kevin Burke Remove call to static::camelize
PHP 5.2 does not support this syntax
c10ab0e
Kevin Burke Fix some of the docs a5fc4b9
Sep 25, 2013
Doug Black Merge pull request #142 from caseysoftware/http-build-query-default
Explicitly set the parameter separator for http_build_query
e534d91
Doug Black Merge pull request #135 from brettgerry/better-validation-example
Correct and improve the code example for validating a request from Twili...
88f34ca
Sep 26, 2013
composer.lock should not be ignored c397149
Sep 28, 2013
Kevin Burke Merge pull request #150 from pmeth/master
composer.lock should not be ignored
839e4fb
Kevin Burke update Makefile for composer compatibility 0104098
Kevin Burke Add newline encoding test f676f16
Oct 16, 2013
Doug Black add support for searching for mobile numbers 01605cd
Doug Black add number types to IncomingPhoneNumbers 41187e2
Oct 17, 2013
Doug Black add missing link between Recordings and Transcriptions 389f192
Doug Black fix tests f1bfdaf
Doug Black add docs 823a063
Kevin Burke pull braces onto same line 3a3a9b0
Kevin Burke Merge branch 'master' into mobile 058d055
Kevin Burke Update a bunch of documentation 2b26c78
Kevin Burke add docs 3d05244
Oct 21, 2013
Doug Black bump to 3.12.1 aff1483
Oct 23, 2013
Doug Black Merge branch 'master' of github.com:twilio/twilio-php d3cc7ab
Jan 05, 2014
Kevin Burke modularize the composer test-install 1e24377
Kevin Burke Add failing test edc296d
Kevin Burke Fix string representation by encoding objects to arrays 884a1be
Kevin Burke run php tests on 5.5 as well fa264ce
Kevin Burke Merge branch 'std-class' 96fda30
Kevin Burke Preparing 3.12.2 release 93e2aae
Jan 06, 2014
Kevin Burke whitespace 846ed62
Kevin Burke Merge branch 'master' of github.com:twilio/twilio-php 11c0816
Kevin Burke Add requires line for php 5.5 f5120ee
Jan 16, 2014
Kevin Burke Add installation tools necessary for a php release 35fd31f
Kevin Burke Merge branch 'master' of github.com:twilio/twilio-php 5595a08
Kevin Burke Document Twiml generation 3381826
Jan 21, 2014
Doug Black typo ec412cc
Doug Black Merge pull request #154 from twilio/transcription
add missing link between Recordings and Transcriptions
30d1413
Doug Black add php version to user agent 0235a4e
Doug Black Merge branch 'master' of github.com:twilio/twilio-php into user-agent efd4b2b
Doug Black Merge branch 'master' of github.com:twilio/twilio-php 0937fde
Doug Black fix string interpolation 0e73300
Doug Black add test d230091
Doug Black fix spacing 4572899
Jan 23, 2014
Doug Black update docs to use <Message> 3b529b1
Jan 24, 2014
Doug Black update CHANGES, AUTHORS, and a version in docs e4ed9d5
Jan 28, 2014
Kevin Burke Replace dynamic calls with static ones 8cd5df8
Kevin Burke Add information on how to debug requests using the library. 2446127
Kevin Burke Merge branch 'user-agent' db6b343
Kevin Burke update CHANGES 750950f
Kevin Burke version bump 8015e49
Kevin Burke ignore strict standards, turn off display_errors 878b152
Kevin Burke s/twilio.github.com/twilio.github.io 04b7038
Kevin Burke Revert "s/twilio.github.com/twilio.github.io"
This reverts commit 04b7038.
b80d933
Kevin Burke Add test for recording URI's 6af4557
Jan 30, 2014
Kevin Burke static not php 5.2 compatible :( 99a7ff4
Kevin Burke Version bump 8adbc35
Kevin Burke add changelog 510fad9
Feb 12, 2014
Doug Black Merge branch 'master' of github.com:twilio/twilio-php
Conflicts:
	CHANGES.md
d6bc600
Doug Black fix docs heading 43e4381
Feb 20, 2014
Doug Black Update README.md 348f5f2
Apr 12, 2014
Shawn Parker Updating docs with correct certificate name fad6dac
Doug Black Merge pull request #175 from Gipetto/master
Updating docs with correct certificate name
389e07e