appointedd/appointedd-php

There is no license information available for the latest version (0.0.11) of this package.

0.0.11 2016-12-05 17:55 UTC

README

#Appointedd PHP Client

Build Status

##Getting Started

###Composer

Install the composer PHP package

Add the following to your composer.json require section:

"appointedd/appointedd-php": "dev-master"

and run composer update

###Manually

It's recommended that you use Composer, however you can download and install from this repository.

Please note. This client requires the Guzzle REST PHP package.

###Laravel 4

This package comes with a Service Provider for easy integration with Laravel4.

Add the following entry to the providers array in config/app.php

'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

Unit Tests

Make sure you have PHPUnit installed. cd into the package root and run phpunit