1. Go to this page and download the library: Download ahmedd-ibrahim/oauth2 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/ */
ahmedd-ibrahim / oauth2 example snippets
class YourOwnClass extends Oauth
{
public function __construct(array $requesrParam, $clientConfig = []) {
parent::__construct($requesrParam, $clientConfig);
Oauth::$authTokenUrl = 'https://accounts.zoho.com/oauth/v2/token?';
}
}