twilio library for codeigniter
I wanted to use the new twilio library in codeigniter but couldn't find it. So I built it.
Demo controller in 'controllers' folder
Copy the files into the appropriate folders apart from the controller unless you want to try it.
Then you need to add you account_sid and auth_token in the config file.
Call the library in your code:
$this->load->library( 'twilio_services' );
Now you can call any Twilio API (Api Doc)
$call = $this->twilio_services->account->calls->get("CA42ed11f93dc08b952027ffbc406d0868");
I'm using the new Twilio library which can be found here: https://github.com/twilio/twilio-php