PHP code example of daniti / oauth2-pipedrive

1. Go to this page and download the library: Download daniti/oauth2-pipedrive 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/ */

    

daniti / oauth2-pipedrive example snippets


use Daniti\OAuth2\Client\Provider\Pipedrive;
$provider = new Daniti\OAuth2\Client\Provider\Pipedrive(array(
    'clientId' => 'XXXXX',    // The client ID assigned to you by the provider
    'clientSecret' => 'XXXXX',   // The client password assigned to you by the provider
    'redirectUri' => 'XXXXX'
));