Please note the Intacct SDK for PHP is actively being developed and should not be used in a production environment.
If you would like to get involved please fork the repository and submit a pull request.
- Intacct - Intacct's home page
- Issues - Report issues with the SDK or submit pull requests
- License - Apache 2.0 license
- You must have an active Intacct Web Services Developer license
- PHP >= 5.6
- A recent version of cURL >= 7.19.4 compiled with OpenSSL and zlib
Install Composer:
curl -sS https://getcomposer.org/installer | phpSpecify the Intacct SDK for PHP as a dependency in your project's composer.json file:
{
"require": {
"intacct/intacct-sdk-php": "v0.*"
}
}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 Intacct\IntacctClient;
try {
$client = IntacctClient();
} catch (Exception $ex) {
echo $ex->getMessage();
}