If you would like to get involved please fork the repository and submit a pull request.
- Sage Intacct - Sage Intacct's home page
- Issues - Report issues with the SDK or submit pull requests
- License - Apache 2.0 license
- You must have an active Sage Intacct Web Services Developer license
- PHP >= 5.6
- A recent version of cURL >= 7.19.4 compiled with OpenSSL and zlib
- Composer latest version
Coming soon will be a Getting Started guide. Coding examples are available at intacct-sdk-php-examples.
In the meantime, look at the Quick Installation Guide and Example below to help you get started using the SDK.
-
Install Composer
-
In your code, specify the Sage Intacct SDK for PHP as a dependency in your project's composer.json file:
{ "require": { "intacct/intacct-sdk-php": "v1.*" } }
-
After installing, you need to require Composer's autoloader in your project file(s):
require __DIR__ . '/vendor/autoload.php';
<?php
$loader = require __DIR__ . '/vendor/autoload.php';
use BWIntacct\IntacctClient;
try {
$client = new IntacctClient($login_array);
} catch (Exception $ex) {
echo $ex->getMessage();
}
With the IntacctClient, you can execute any FunctionInterface within a Content object. See GettingStarted.php for a complete example.