Require this package, with Composer, in the root directory of your project.
$ composer require plients/afftrack
<?php
use Plients\Config;
$client = new Plients\Afftrack\Client();
$client->setConfig(new Config([
'username' => 'YOUR_USERNAME',
'key' => 'YOUR_API_KEY'
]));
try {
$response = $client->api('AdminManagers')->getAdmins();
dd($response);
} catch (Exception $e) {
dd($e);
}
$ phpunit
If you discover a security vulnerability within this package, please send an e-mail to hello@basecode.sh. All security vulnerabilities will be promptly addressed.
Mozilla Public License Version 2.0 (MPL-2.0).