A PHP Wrapper for Pax8
composer require inserve/pax8-api-php
<?php
use Inserve\Pax8API\Pax8APIClient;
require 'vendor/autoload.php';
$api = new Pax8APIClient();
$accessToken = $api->authenticate('client.id', 'client.secret');
if (! $accessToken) {
echo 'Authentication failed';
return;
}
$subscriptions = $api->company->list();