PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
} Then run composer install.
Download the files and include autoload.php:
require_once('/path/to/avalara.comms.rest.v2/vendor/autoload.php'); To run the unit tests:
composer install
./vendor/bin/phpunit