Align Commerce PHP Library
, (*1)
Requirements :, (*2)
PHP 5.4 and later., (*3)
Registration :, (*4)
Register account at https://aligncommerce.com/dashboard/
Installation, (*5)
Obtain the latest version :, (*6)
git clone https://github.com/aligncommerce/align-php-library.git
To use the Library, add the following to your PHP Script:, (*7)
require_once("/path/lib/Align.php");
Configuration :, (*8)
Configure your credential on lib/Align/Apiconfig.php
authBasicUsername = Username that you used in our registration.
authBasicPassword = Password that you used in our registration.
clientId = Provided in https://aligncommerce.com/dashboard/keys.
secretKey = Provided in https://aligncommerce.com/dashboard/keys.
Basic usage:, (*9)
require_once("lib/Align.php");
echo Invoice::retrieve();