The TabT API Client is a helper library for Frenoy's TabT API
Basic setup to get you started using the client.
First of all, install the package using Composer
composer require yoerioptr/tabt-api-client
Instantiate the TabT Api Client as shown below
use Yoerioptr\TabtApiClient\Client\Client;
use Yoerioptr\TabtApiClient\Entries\CredentialsType;
use Yoerioptr\TabtApiClient\Tabt;
// Instantiate the client
$client = new Client();
// Optionally you can provide your credentials
$credentials = new CredentialsType('username', 'password');
$client->setCredentials($credentials);
// Instantiate the TabT Api Client
$tabt = new Tabt($client);
Executing requests makes use of repositories, which can easily be accessed from the TabT helper class.
$testResponse = $tabt->test()->info();
All usable requests can be found here