dev-master 2018-05-24 06:54 UTC

This package is not auto-updated.

Last update: 2022-10-01 18:52:35 UTC


Travis ci

OST KIT - PHP Wrapper for the OST KIT API

A PHP wrapper for the REST API of OST KIT which is currently under active development. This client implements version 0.9.2 of the OST KIT REST API.


A Branded Token economy must be setup first in order to use the API, see for more information.

How to install

composer require ostkitphpwrapper/ostkit:"dev-master"

How to use the client

Create the OST KIT client using your Branded Token economy's API key, API secret and API URL default

use Ostkit\Ostkit as Ostkit;

$ost = new Ostkit('YOUR-API-KEY', 'YOUR-API-SECRET');

/* USERS functions */
// Create a user named 'Ria'.
$response = $ost->userCreate('Luong');

// ... and rename 'Ria' to 'Fred'.
$response = $ost->userEdit($user['uuid'], 'Tinh');

// ... get info by id
$response = $ost->userRetrieve($user['uuid']); 

$response = $ost->userList(); // lists all users

/* AIRDROPS functions */

/* ACTIONS functions */

/* TRANSACTIONS functions */

/* TRANSFERS functions */

/* TOKEN functions */

To be continues...

How to run tests

In order to test the library:

Create a fork Clone the fork to your machine Install the depencies composer install Run the unit tests ./vendor/bin/phpunit tests