ziftr/api-client
Composer 安装命令:
composer require ziftr/api-client
包简介
Ziftr API PHP Client Bindings
README 文档
README
This branch is under active development and should not be considered stable for use in production systems. For more information please visit: www.ziftrpay.com
Installation
The Ziftr API Client can be installed via Composer by requiring the
ziftr/api-client package in your project's composer.json.
{
"require": {
"ziftr/api-client": "0.1.*@dev"
}
}
Then run a composer update
php composer.phar update
Configuration
$configuration = new \Ziftr\ApiClient\Configuration(); $configuration->load_from_array(array( 'host' => 'sandbox.fpa.bz', 'port' => 443, 'secure' => true, 'private_key' => '...', 'publishable_key' => '...' ));
You can create custom configuration loaders by extending the \Ziftr\ApiClient\Configuration class.
Usage
$request = new \Ziftr\ApiClient\Request('/orders', $configuration); $response = $request->get();
Links
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-21