1. Install GMP for apache
    $ apt-get install php5-gmp
    $ /etc/init.d/apache2 restart

2. Install composer
    $ curl -sS https://getcomposer.org/installer | php
    $ mv composer.phar /usr/local/bin/composer

3. Setup skeleton composer.json file
    {
        "name": "bravecollective/test",
        "description": "this is a test",
        "license": "MIT",
        "repositories": [
            {
                "url": "https://github.com/bravecollective/php-api.git",
                "type": "git"
            }
        ],
        "require": {
                "bravecollective/php-api": "dev-master"
        }
    }

4. Install dependencies
    $ composer install

5. Use php-api
    define('USE_MATH_EXT', 'GMP');
    require 'vendor/autoload.php';

6. Configuration
    Edit config.php
