承接 ziftr/api-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

@awsforphp on Twitter Latest Development Version

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

GitHub 信息

  • Stars: 0
  • Watchers: 10
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-21