vizad / intuit
This package is abandoned and no longer maintained.
No replacement package was suggested.
OAuth 1.0 Client for Intuit using The PHP League OAuth1-Client
v1.0
2016-07-09 13:02 UTC
Requires
- php: >=5.4.0
- league/oauth1-client: ~1.2
This package is auto-updated.
Last update: 2021-05-21 07:56:09 UTC
README
Install Via Composer
composer require vizad/intuit
Usage
define('QB_CUSTOMER_ID', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); define('QB_CUSTOMER_SECRET', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); $intuitClient = new Vizad\Intuit([ 'identifier' => QB_CUSTOMER_ID, 'secret' => QB_CUSTOMER_SECRET, 'callback_uri' => "CALLBACK_URI", 'sandboxMode' => true ]); $temporaryCredentials = $intuitClient->getTemporaryCredentials(); $_SESSION['temporary_credentials'] = serialize($temporaryCredentials); $authurl = $intuitClient->getAuthorizationUrl($temporaryCredentials); echo "<a href='".$authurl."'>Connect to Quickbooks Account</a>";