Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
starter kit for twilio apps based on zend framework 1.10
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
twilioKit - Twilio Starter Kit for Zend Framework ================================================== Original code - copyright (c)2010 Michael Kimsal All other code copyright by the respective projects twilioKit provides a basic skeleton for bringing together a Twilio library, Doctrine, phpunit and Zend Framework in one 'ready to go' set up with example code for Twilio services. Doctrine 1.2 and ZF 1.10.5 are provided in the /library folder, Twilio REST Client adapted from twilio.com helper library. Getting started =============== ZF libraries are provided in a tgz format. You'll need to untar/unzip them before starting. cd /path/to/zfkit/library tar -xzf Zend.tgz -or- If you want to provide your own ZF library, symlink or copy the Zend library from ZF to live in the zfkit/library folder. ln -s /path/to/zfkit/library/Zend /path/to/real/zendframework/library/Zend or cp -r /path/to/real/zendframework/library/Zend /path/to/zfkit/library/ ------- You may wish to make your /public/ folder the document root of a virtual host for nicer URLs. Something like this would be appropriate <VirtualHost *:80> DocumentRoot "/path/to/git/checkout/of/zfkit/public" ServerName <your_host_name_here> Options Indexes MultiViews FollowSymLinks <Directory "/path/to/git/checkout/of/zfkit"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> ------- DB setup Go in to the scripts directory and run the ./run script This will automatically drop/create the database, create a schema and insert sample data, based on the Doctrine data in /application/data (specifically, the schema.yml and fixtures/data.yml files) ------- Config setup For Twilio to work, you'll need to put in your account SID and auth Token from your Twilio account dashboard in to the application/configs/application.ini file. ------- Visit your hostname http://<your_host_name_here>/ License ======= twilioKit is released under a BSD license and is based on ZFKit.