PHPackages                             hw/finance - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hw/finance

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hw/finance
==========

财务模块SDK

04PHP

Since Sep 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hewei520/xn-finance-sdk)[ Packagist](https://packagist.org/packages/hw/finance)[ RSS](/packages/hw-finance/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

finance-sdk
===========

[](#finance-sdk)

财务模块SDK

### 一、安装

[](#一安装)

#### 1.依赖

[](#1依赖)

- composer
- php7.4
    - 支持yar

#### 2.安装方法

[](#2安装方法)

```
composer require xn/finance:{version}

说明：{version}指定的版本号

```

### 二、目录结构

[](#二目录结构)

```
lib-php                 跟目录
├─src                   src目录
│  ├─Cash.php           提现类文件
│  ├─Client.php         公共连接类文件
│  ├─Cost.php           成本类文件
│  ├─Data.php           数据类文件
│  ├─Flow.php           流水类文件
│  ├─Index.php          表类文件
│  ├─Invoice.php        发票类文件
│  ├─Settlement.php     结算类文件
│  └─Trade.php          交易类文件
│
├─composer.json         composer 定义文件
├─demo.php              测试文件
├─README.md             README 文件

```

### 三、使用方法

[](#三使用方法)

#### 1.输出接口调用方法

[](#1输出接口调用方法)

```
输出类静态调用方法

说明：$code状态码 $data数据 $message状态信息

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![hewei520](https://avatars.githubusercontent.com/u/38216632?v=4)](https://github.com/hewei520 "hewei520 (6 commits)")

### Embed Badge

![Health badge](/badges/hw-finance/health.svg)

```
[![Health](https://phpackages.com/badges/hw-finance/health.svg)](https://phpackages.com/packages/hw-finance)
```

###  Alternatives

[yidas/client-ip

Get client IP with safe and coincident way from server even behind Proxy or Load-Balancer

2387.9k](/packages/yidas-client-ip)[chowjiawei/laravel-help-plugin

Integrating useful auxiliary functions into laravel,Assistant tools based on laravel.

671.8k](/packages/chowjiawei-laravel-help-plugin)[hyperf/swoole-tracker

A swoole tracker library for Hyperf.

1721.3k](/packages/hyperf-swoole-tracker)[makinacorpus/php-bloom

Bloom filter implementation

179.0k1](/packages/makinacorpus-php-bloom)

PHPackages © 2026

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