Skip to main content
Avalara Help Center

What does "require('vendor/autoload.php') reference in the sample code for PHP in SOAP?


Part of the sample code references "require('vendor/autoload.php') on GITHUB and we are not sure what this is in reference to nor can we find it anywhere in


Avalara Avatax


  • The value "require('vendor/autoload.php') is a placeholder for the specific part of the sample code that allows the package to be loaded by the Composer package.
  • It isn't in the sample code because Composer adds it as part of the include this library process, thus our including of "require('vendor/autoload.php') is merely as a place holder.
  • Note: If you're loading the directory manually you'll need to change it because the file will not be built.