Installation

Using Composer

The easiest way, by far, is to use Composer. Add the following line to your composer.json file’s "require" hash:

{
    "require": {
        "educach/dsb-client": "dev-master"
    }
}

Call the following command to download the library:

composer install

After installing, you need to require Composer’s autoloader:

require 'vendor/autoload.php';

Manual installation

If you wish to use this library without using Composer, you can download a release here, or do a checkout using Git at https://github.com/educach/dsb-client.git.

Make sure you have some sort of autoloading mechanism in place. The dsb Client library is PSR-4 compatible.