PHPackages                             haiyin/gc-opensdk-php - 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. haiyin/gc-opensdk-php

ActiveLibrary

haiyin/gc-opensdk-php
=====================

谷仓开放平台-客户端PHPSDK.

v1.0.1(4y ago)17MITPHPPHP &gt;=5.3

Since Jun 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jamesxiaofeng/gc-opensdk-php)[ Packagist](https://packagist.org/packages/haiyin/gc-opensdk-php)[ Docs](https://github.com/jamesxiaofeng/gc-opensdk-php)[ RSS](/packages/haiyin-gc-opensdk-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

gc-open-sdk-php
===============

[](#gc-open-sdk-php)

#### 介绍

[](#介绍)

谷仓开放平台-客户端PHPSDK

#### 软件架构

[](#软件架构)

软件架构说明

```
├── core //核心代码目录
│   ├── Config.php //配置对象 apikey apisecret aes密钥(16位) 谷仓公钥
│   ├── Engine.php //执行引擎对象,通过该对象query方法 发起服务调用
│   ├── api //api实体对象,具体接口请参考谷仓众包开放平台接口文档. 接口文件名和接口文档中接口名称保持对应
│   │   ├── AccountBalance.php
│   │   ├── Bankcard3c.php
│   │   ├── FileUpload.php
│   │   ├── OrderInvoice.php
│   │   ├── OrderQueryInvoice.php
│   │   ├── PayOrder.php
│   │   ├── PayQueryBill.php
│   │   ├── PayQueryResult.php
│   │   ├── PersonAuth.php
│   │   ├── PersonSign.php
│   │   └── PersonStatus.php
│   ├── autoload.php //自动加载文件,项目中首先通过引入该文件,然后调用sdk中类方法
│   ├── impl //接口文件
│   │   ├── ApiInterface.php
│   │   └── ConfigInterface.php
│   └── support 工具目录
│       ├── Aes.php
│       ├── Rsa.php
│       └── Support.php
├── demo 测试样本
│   └── test.php

```

#### 安装教程

[](#安装教程)

1. 将sdk中的 haiyin目录 放入项目第三方包应当存放合适的位置
2. 在项目bootstrap文件中引入haiyin/core/autoload.php 文件

#### 使用说明

[](#使用说明)

1. php版本不得低于php5.3
2. 要求安装openssl curl 扩展模块

#### 参与贡献

[](#参与贡献)

1. Fork 本仓库
2. 新建 Feat\_xxx 分支
3. 提交代码
4. 新建 Pull Request

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~6 days

Total

2

Last Release

1780d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37010510?v=4)[jamesxiaofeng](/maintainers/jamesxiaofeng)[@jamesxiaofeng](https://github.com/jamesxiaofeng)

---

Top Contributors

[![jamesxiaofeng](https://avatars.githubusercontent.com/u/37010510?v=4)](https://github.com/jamesxiaofeng "jamesxiaofeng (5 commits)")

---

Tags

gc-opensdk-php

### Embed Badge

![Health badge](/badges/haiyin-gc-opensdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/haiyin-gc-opensdk-php/health.svg)](https://phpackages.com/packages/haiyin-gc-opensdk-php)
```

PHPackages © 2026

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