aligncommerce / aligncommerce-php-lib
Align Commerce PHP 库
v1.1.1
2014-09-24 09:28 UTC
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
This package is not auto-updated.
Last update: 2024-09-24 02:11:37 UTC
README
要求
PHP 5.4 及以上版本。
注册
Register account at https://aligncommerce.com/dashboard/
安装
获取最新版本
git clone https://github.com/aligncommerce/align-php-library.git
要使用此库,请将以下内容添加到您的 PHP 脚本中
require_once("/path/lib/Align.php");
配置
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.
基本用法
require_once("lib/Align.php");
echo Invoice::retrieve();