2017 © Pedro Peláez
 

library invoice-bw-openapi-php-sdk

invoice-bw-openapi-php-sdk

image

ddmc/invoice-bw-openapi-php-sdk

invoice-bw-openapi-php-sdk

  • Saturday, July 21, 2018
  • by ainiaa
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

PHP SDK 接入指南

接入指南

  1. PHP version >= 5.4 & curl extension support
  2. 通过composer安装SDK
  3. 创建Config配置类,填入key,secret和sandbox参数
  4. 使用sdk提供的接口进行开发调试
  5. 线上环境将Config中$sandbox值设为false

安装

php
    composer require ddxq/invoice-bw-openapi-php-sdk

基本用法

php
    use CoreOpenApi\Config\Config;
    use InvoiceOpenApi\Api\InvoiceService;
    use InvoiceOpenApi\Protocol\InvoiceClient;
    //实例化一个配置类
    $config = new Config($app_key, $app_secret, []);

    $client = new InvoiceClient($token, $config);
    //使用config和token对象,实例化一个服务对象
    $invoiceservice = new InvoiceService($client);

    //调用服务方法,获取资源
    $resp = $invoiceservice->openInovice([]);

The Versions

21/07 2018

dev-master

9999999-dev

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙

20/07 2018

1.0.6

1.0.6.0

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙

04/07 2018

1.0.5

1.0.5.0

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙

03/07 2018

1.0.4

1.0.4.0

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙

02/07 2018

1.0.3

1.0.3.0

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙

02/07 2018

1.0.2

1.0.2.0

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙

29/06 2018

1.0.1

1.0.1.0

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙

28/06 2018

1.0.0

1.0.0.0

invoice-bw-openapi-php-sdk

  Sources   Download

MIT

The Requires

 

by 浪淘沙