1. Go to this page and download the library: Download boldgrid/reseller-api library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
boldgrid / reseller-api example snippets
$ composer
use Boldgrid\Api\Boldgrid;
use Boldgrid\Api\Environment\Sandbox;
$api = new Boldgrid( new Sandbox );
use Boldgrid\Api\Environment\Sandbox;
$api = new Boldgrid();
$api = $api->setEnvironment( new Sandbox );
use Boldgrid\Api\Environment;
use Boldgrid\Api\Storage;
$api = new Boldgrid( new Environment\Sandbox, new Storage\Memcache );
use Boldgrid\Api\Environment\Sandbox;
use Boldgrid\Api\Storage\Memcache;
$api = $api
->setEnvironment( new Sandbox )
->setStorage( new Memcache );