freekrai / twilio-skeleton
A Laravel skeleton application for rapid development of Twilio apps
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- freekrai/simperium-php: dev-master
- gregwar/image: dev-adapter
- laravel/framework: 4.2.*
- pusher/pusher-php-server: dev-master
- twilio/sdk: dev-master
README
Use this skeleton application to quickly setup and start working on a new Twilio application. This application uses the latest Laravel and Twilio repositories.
This skeleton application was built for Composer. This makes setting up a new Twilio application quick and easy.
Install Composer
If you have not installed Composer, do that now. I prefer to install Composer globally in /usr/local/bin
, but you may also install Composer locally in your current working directory. For this tutorial, I assume you have installed Composer locally.
http://getcomposer.org/doc/00-intro.md#installation
If not, you can install it from the terminal using this command:
curl -s https://getcomposer.org/installer | php
Install the Application
After you install Composer, run this command from the directory in which you want to install your new Laravel Framework application.
php composer.phar create-project freekrai/twilio-skeleton [my-app-name]
Replace [my-app-name]
with the desired directory name for your new application. You'll want to point your virtual host document root to your new application's directory.
Configure the Application
In a text editor, go to app/config/ and open the twilio.php file.
Edit your AccountSid, AuthToken and FromNumber variables with your Twilio account information.