PHP code example of shohag / zoho-inventory-sdk

1. Go to this page and download the library: Download shohag/zoho-inventory-sdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

shohag / zoho-inventory-sdk example snippets



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));