daniti/oauth2-pipedrive

Pipedrive OAuth 2.0 client provider for PHP League OAuth2 Client

1 2018-03-09 11:34 UTC

This package is not auto-updated.

Last update: 2024-10-01 04:59:34 UTC


README

Pipedrive OAuth 2.0 client provider for PHP League OAuth2 Client

composer require daniti/oauth2-pipedrive

include vendor/autoload.php

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'
));

Please look at League OAuth2 Client's documentation for examples on how to implement the auth flow: https://github.com/thephpleague/oauth2-client