New CakePHP Twilio Datasource from Aaron Reisman
Time to read: 1 minute
June 09, 2010
Written by
Aaron Reisman is a Media Specialist and Founder of Life is Content.
While working on some Twilio projects Aaron
developed a new CakePHP Datasource for accessing the Twilio API via standard model functions. The source code is freely
available on GitHub. Let’s take a look at an example of how it works.
While working on some Twilio projects Aaron
developed a new CakePHP Datasource for accessing the Twilio API via standard model functions. The source code is freely
available on GitHub. Let’s take a look at an example of how it works.
You’ll need PHP 5.x and CakePHP 1.3.x to use the datasource. Once you have that setup, installation is three easy steps:
- Download and add the files to a new CakePHP Project.
- Edit the database file and use your credentials.
- Modify the texts controller to your needs.
Once configured, a sample controller might look like this:
If you use CakePHP, the Twilio Datasource can simplify working with the Twilio API. Head on
over to GitHub, download it and give it a try in your apps!
Related Posts
Related Resources
Twilio Docs
From APIs to SDKs to sample apps
API reference documentation, SDKs, helper libraries, quickstarts, and tutorials for your language and platform.
Resource Center
The latest ebooks, industry reports, and webinars
Learn from customer engagement experts to improve your own communication.
Ahoy
Twilio's developer community hub
Best practices, code samples, and inspiration to build communications and digital engagement experiences.