PHP code example of basetwosolutions / zoho-crm-client-php
1. Go to this page and download the library: Download basetwosolutions/zoho-crm-client-php 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/ */
basetwosolutions / zoho-crm-client-php example snippets
// somewhere early in your project's loading, d
use CristianPontes\ZohoCRMClient\ZohoCRMClient;
$client = new ZohoCRMClient('Leads', 'yourAuthToken');
$records = $client->getRecords()
->selectColumns('First Name', 'Last Name', 'Email')
->sortBy('Last Name')->sortAsc()
->since(date_create('last week'))
->request();
// Just for debug
echo "<pre>";
print_r($records);
echo "</pre>";