PHP code example of 1tomany / oauth2-intuit

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

    

1tomany / oauth2-intuit example snippets


$provider = new \OneToMany\OAuth2\Client\Provider\Intuit([
    'clientId' => 'intuit-client-id',
    'clientSecret' => 'intuit-client-secret',
    'redirectUri' => 'https://example.com/oauth/connect'
]);