PHPackages                             kylin987/yop-php8-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. kylin987/yop-php8-sdk

ActiveLibrary[API Development](/categories/api)

kylin987/yop-php8-sdk
=====================

本项目用于对接 YOP 上面的 API,php8及以上支持

v4.0.3(2y ago)097↓100%Apache-2.0PHPPHP &gt;=8.0

Since Apr 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kylin987/yop-php8-sdk)[ Packagist](https://packagist.org/packages/kylin987/yop-php8-sdk)[ Docs](https://open.yeepay.com)[ RSS](/packages/kylin987-yop-php8-sdk/feed)WikiDiscussions main Synced today

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 v8.0+ 安装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

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

4

Last Release

1075d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f1c0726daff91d74835f3ef3901923fdf7b6b0b65d919968682b53edd22c9cc?d=identicon)[kylin987](/maintainers/kylin987)

---

Top Contributors

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

---

Tags

openapiyop

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kylin987-yop-php8-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/kylin987-yop-php8-sdk/health.svg)](https://phpackages.com/packages/kylin987-yop-php8-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.7k44.1M87](/packages/swagger-api-swagger-ui)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k33.0M100](/packages/darkaonline-l5-swagger)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.0M45](/packages/dedoc-scramble)[cebe/php-openapi

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

49915.1M72](/packages/cebe-php-openapi)[jolicode/slack-php-api

An up to date PHP client for Slack's API

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

OpenApi or Swagger integration to Lumen

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

PHPackages © 2026

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