znarf/php-boilerplate

Get started with PHP and the EyeEm API in 1 minute

★ 0Forks 0PHPGitHub ↗Compare

README

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.

Setup

  1. Clone this repository.
git clone git://github.com/eyeem/php-boilerplate.git eyeem/php-boilerplate
cd eyeem/php-boilerplate
  1. Register a new Application at http://www.eyeem.com/developers

  2. Edit config.php with your Client Id and Client Secret.

  3. Get Composer and install dependencies:

curl -s http://getcomposer.org/installer | php
php composer.phar install
  1. From PHP 5.4, you can simply run:
php -S localhost:8008 -t web

Contributors

znarfLarsFronius

Issues