title: Integrate ZOHO API with Laravel 5.7
body: <p>I tried to integrate Laravel application with ZOHO SDK but it's not working, <code>zohocrm/php-sdk</code> is for PHP not for Laravel. I have tried third parties packages but none is working.</p>
  
  <ul>
  <li>Zoho API Version: 2.0 </li>
  <li>Laravel Version: 5.7</li>
  </ul>
  
  <p>I have tried these packages also</p>
  
  <p><a href="https://packagist.org/packages/atlasresults/zoho-laravel-crm-php" rel="nofollow noreferrer">https://packagist.org/packages/atlasresults/zoho-laravel-crm-php</a>
  <a href="https://github.com/rahulreghunath/Zoho" rel="nofollow noreferrer">https://github.com/rahulreghunath/Zoho</a></p>
  
  <p>The issue with Official SDK is it could not find the class <code>ZCRMRestClient</code> when generating grant-token.
  <a href="https://www.zoho.com/crm/help/developer/server-side-sdks/php.html" rel="nofollow noreferrer">https://www.zoho.com/crm/help/developer/server-side-sdks/php.html</a></p>
  
  <pre><code>public function abc()
  {
      ZCRMRestClient::initialize();
      $oAuthClient = ZohoOAuth::getClientInstance();
      $grantToken = “paste_the_self_authorized_grant_token_here”;
      $oAuthTokens = $oAuthClient-&gt;generateAccessToken($grantToken);
  }
  </code></pre>
  
  <p>Any help would be appreciated.  </p>