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

ActiveLibrary[API Development](/categories/api)

xutongle/yop-php-sdk
====================

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

v3.1.13(4y ago)0155Apache-2.0PHPPHP ^7.4|^8.0

Since Oct 8Pushed 4y agoCompare

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

READMEChangelog (1)Dependencies (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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

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

Total

3

Last Release

1510d ago

PHP version history (2 changes)v3.1.11PHP &gt;=5.5

v3.1.13PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/534cdb651e8c806590fa945c6b5a18f361613848e890db1349f4a9fbcae1a650?d=identicon)[xutongle](/maintainers/xutongle)

---

Top Contributors

[![yop-developer](https://avatars.githubusercontent.com/u/74391451?v=4)](https://github.com/yop-developer "yop-developer (26 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 (8 commits)")[![xutongle](https://avatars.githubusercontent.com/u/46956076?v=4)](https://github.com/xutongle "xutongle (2 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

---

Tags

openapiyop

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/xutongle-yop-php-sdk/health.svg)](https://phpackages.com/packages/xutongle-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)
