PHPackages                             ddmc/invoice-bw-openapi-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ddmc/invoice-bw-openapi-php-sdk

ActiveLibrary[API Development](/categories/api)

ddmc/invoice-bw-openapi-php-sdk
===============================

invoice-bw-openapi-php-sdk

1.1.0(7y ago)3271[1 issues](https://github.com/ainiaa/invoice-bw-openapi-php-sdk/issues)MITPHPPHP &gt;=5.4.0

Since Jun 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ainiaa/invoice-bw-openapi-php-sdk)[ Packagist](https://packagist.org/packages/ddmc/invoice-bw-openapi-php-sdk)[ RSS](/packages/ddmc-invoice-bw-openapi-php-sdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

PHP SDK 接入指南
============

[](#php-sdk-接入指南)

接入指南
----

[](#接入指南)

1. PHP version &gt;= 5.4 &amp; 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([]);

```

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~39 days

Total

10

Last Release

2806d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb176bcd62e4274810b6b86971f8ce916e406db153290eccde554b210f4d4ae0?d=identicon)[ainiaa](/maintainers/ainiaa)

---

Top Contributors

[![ainiaa](https://avatars.githubusercontent.com/u/3380187?v=4)](https://github.com/ainiaa "ainiaa (19 commits)")

### Embed Badge

![Health badge](/badges/ddmc-invoice-bw-openapi-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ddmc-invoice-bw-openapi-php-sdk/health.svg)](https://phpackages.com/packages/ddmc-invoice-bw-openapi-php-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
