PHP code example of bentools / oauth2-qivivo

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

    

bentools / oauth2-qivivo example snippets


$provider = new BenTools\Qivivo\OAuth2\Provider\Qivivo([
    'clientId'          => '{qivivo-client-id}',
    'clientSecret'      => '{qivivo-client-secret}',
    'redirectUri'       => 'https://example.com/callback-url'
]);