Appointedd PHP Client
, (*1)
Getting Started
Composer
Install the composer PHP package, (*2)
Add the following to your composer.json require section:, (*3)
"appointedd/appointedd-php": "dev-master"
and run composer update, (*4)
Manually
It's recommended that you use Composer, however you can download and install from this repository., (*5)
Please note. This client requires the Guzzle REST PHP package., (*6)
Laravel 4
This package comes with a Service Provider for easy integration with Laravel4., (*7)
Add the following entry to the providers array in config/app.php, (*8)
'Appointedd\Appointedd\AppointeddServiceProvider'
Usage
use Appointedd\Appointedd\Appointedd; // Non-Laravel users only
$apClient = Appointedd::setAccessToken('gTHZNc7DVZJI24KIcFLHTipMIqUWFSrA');
$customers = $apClient->get('organisation/customers');
if(is_object($customers))
var_dump($customers->json());
Endpoints
TODO, (*9)
Unit Tests
Make sure you have PHPUnit installed. cd into the package root and run phpunit, (*10)