These libraries are open source, and are released as such. If you have located a bug or have questions, please visit the Github repositories that are associated with the sample code and provide feedback there.
Latest SDK version 22.3.0

The AvaTax PHP SDK is available as a Composer package. To use the AvaTax PHP SDK from Composer:

  • Add a composer.json file to your project and link to AvaTax:
    "require": {
        "avalara/avataxclient": "*"
  • Run composer install to download the latest version.
Using the PHP SDK

The PHP SDK uses a fluent interface to define a connection to AvaTax and to make API calls to calculate tax on transactions. Here's an example of connecting to the API.

View Example