PHP code example of chadhutchins / oauth2-sugarcrm7
1. Go to this page and download the library: Download chadhutchins/oauth2-sugarcrm7 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/ */
chadhutchins / oauth2-sugarcrm7 example snippets
$provider = new \Chadhutchins\OAuth2\Client\Provider\Sugarcrm([
'clientId' => '{sugarcrm-client-id}', // can use 'sugar' for testing, and clientSecret is not