1. Go to this page and download the library: Download webleit/zohosignapi 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/ */
webleit / zohosignapi example snippets
$zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]', '[REFRESH_TOKEN]');
$zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]', '[REFRESH_TOKEN]');
use \Webleit\ZohoSignApi\ZohoSign;
$zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]');
$redirectUrl = $zohoSign->getGrantCodeConsentUrl('[YOUR_REDIRECT_URI]');
// Redirect your user here to $redirectUrl