Skip to content

Installing via Composer

Hibernia CDN edited this page Mar 14, 2016 · 2 revisions

You can install via Composer

Create composer.json like following

{
    "require": {
        "HiberniaCDN/api-client-php": "dev-master"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:HiberniaCDN/api-client-php.git"
        }
    ]
}

Run composer to install

$ php composer.phar install

Include autoloader in your script

# Include AutoLoader
include_once __DIR__ . '/vendor/autoload.php';
Clone this wiki locally