The PeopleCloud PHP library provides convenient access to the PeopleCloud API from applications written in the PHP language.
PHP 5.6.0 and later.
You can install the bindings via Composer. Run the following command:
composer require peoplecloudhrm/peoplecloud-php
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
require_once('/path/to/peoplecloud-php/init.php');
The bindings require the following extensions in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Simple usage looks like:
$peoplecloud = new \PeopleCloud\PeopleCloudClient();