appointedd/appointedd-php

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

v1 2018-05-17 12:54 UTC

This package is not auto-updated.

Last update: 2024-03-16 13:10:35 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