1. Go to this page and download the library: Download christiaan/zohocrmclient 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/ */
$buzzTransport = new BuzzTransport(
new \Buzz\Browser(new \Buzz\Client\Curl()),
'https://crm.zoho.com/crm/private/xml/'
);
$buzzTransport->setLogger($logger);
$transport = new XmlDataTransportDecorator(
new AuthenticationTokenTransportDecorator(
'yourAuthKey',
$buzzTransport
)
);
$client = new ZohoCRMClient('Leads', $transport);