PHPackages                             huangang/yop-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. huangang/yop-php-sdk

ActiveLibrary[API Development](/categories/api)

huangang/yop-php-sdk
====================

本项目用于对接 YOP 上面的 API

3.1.16(3y ago)024Apache-2.0PHPPHP &gt;=5.5

Since Dec 21Pushed 3y agoCompare

[ Source](https://github.com/huangang/yop-php-sdk)[ Packagist](https://packagist.org/packages/huangang/yop-php-sdk)[ Docs](https://open.yeepay.com)[ RSS](/packages/huangang-yop-php-sdk/feed)WikiDiscussions main Synced 1mo ago

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

[![FOSSA Status](https://camo.githubusercontent.com/2e6ecf0727d15c2dd699185ac652a14327653ab92d58bec445aa74dbee1d4537/68747470733a2f2f6170702e666f7373612e636f6d2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246796f702d706c6174666f726d253246796f702d7068702d73646b2e7376673f747970653d736869656c64)](https://app.fossa.com/projects/git%2Bgithub.com%2Fyop-platform%2Fyop-php-sdk?ref=badge_shield)

### 环境依赖

[](#环境依赖)

php v5.5+ 安装php的mcrypt扩展 openssl，启用模块curl

### 目录结构描述

[](#目录结构描述)

```
├──src
│   ├── Util                        // 工具类
│   │   ├── AESEncrypter.php        // AES函数集
│   │   ├── Base64Url.php           // Base64Url函数集
│   │   ├── BlowfishEncrypter.php   // 加解密处理
│   │   ├── HttpRequest.php         // Http请求函数集
│   │   ├── HttpUtils.php           // Http处理共通函数集
│   │   ├── StringBuilder.php       // 字符串创建函数集
│   │   ├── StringUtils             // 字符串处理函数集
│   │   └── YopSignUtils.php        // YOP签名共通函数集
│   ├── YopClient.php               // 对称秘钥请求处理函数集
│   ├── YopClient3.php              // 非对称秘钥请求处理函数集
│   ├── YopConfig.php               // YOP配置信息函数集
│   ├── YopRequest.php              // YOP请求处理函数集
│   ├── YopResponse.php             // YOP返回处理函数集
│   ├── test                        // 测试
│   │   ├── Info.php                // PHP环境测试页面
│   │   └── RsaTest.php             // 测试程序页面
│   ├── Readme.txt                  // help

```

### 接口调用说明

[](#接口调用说明)

请求示例，参考./test/RsaTest.php

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/51c98a074819464525eccc4975dbf2270889179213c26428eac889c38a9f4847/68747470733a2f2f6170702e666f7373612e636f6d2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246796f702d706c6174666f726d253246796f702d7068702d73646b2e7376673f747970653d6c61726765)](https://app.fossa.com/projects/git%2Bgithub.com%2Fyop-platform%2Fyop-php-sdk?ref=badge_large)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

3

Last Release

1176d ago

### Community

Maintainers

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

---

Top Contributors

[![yop-developer](https://avatars.githubusercontent.com/u/74391451?v=4)](https://github.com/yop-developer "yop-developer (28 commits)")[![im47cn](https://avatars.githubusercontent.com/u/67424112?v=4)](https://github.com/im47cn "im47cn (17 commits)")[![yop-wdc](https://avatars.githubusercontent.com/u/79304261?v=4)](https://github.com/yop-wdc "yop-wdc (9 commits)")[![huangang](https://avatars.githubusercontent.com/u/7261239?v=4)](https://github.com/huangang "huangang (3 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")[![hedeqiang](https://avatars.githubusercontent.com/u/31909061?v=4)](https://github.com/hedeqiang "hedeqiang (1 commits)")

---

Tags

openapiyop

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/huangang-yop-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/huangang-yop-php-sdk/health.svg)](https://phpackages.com/packages/huangang-yop-php-sdk)
```

###  Alternatives

[swagger-api/swagger-ui

 Swagger UI is a collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

28.7k45.4M99](/packages/swagger-api-swagger-ui)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M111](/packages/darkaonline-l5-swagger)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M55](/packages/dedoc-scramble)[cebe/php-openapi

Read and write OpenAPI yaml/json files and make the content accessable in PHP objects.

49815.4M86](/packages/cebe-php-openapi)[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)[darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

3372.3M3](/packages/darkaonline-swagger-lume)

PHPackages © 2026

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