Unofficial ZOHO Inventory API SDK for PHP
The preferred way to install this extension is through composer.
Either run
composer require shohag/zoho-inventory-sdk
or add
"shohag/zoho-inventory-sdk": "*"
to the require section of your composer.json
file.
require_once 'vendor/autoload.php';
use shohag\ZohoInventorySDK\ZohoInventory;
$inventory = new ZohoInventory(array('accessToken' => 'your auth token'), 'organizationId' => 'your org id'));
$inventory->listContacts(); //get all contacts
die(var_dump($inventory));