Get started with PHP and the EyeEm API in 1 minute!
This boilerplate is made of Silex, Bootstrap, jQuery, the EyeEm PHP wrapper and a minimalist template system.
- Clone this repository.
git clone git://github.com/eyeem/php-boilerplate.git eyeem/php-boilerplate
cd eyeem/php-boilerplate
-
Register a new Application at http://www.eyeem.com/developers
-
Edit config.php with your Client Id and Client Secret.
-
Get Composer and install dependencies:
curl -s http://getcomposer.org/installer | php
php composer.phar install
- From PHP 5.4, you can simply run:
php -S localhost:8008 -t web