PHPackages                             gb-hyperf/api-doc - 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. gb-hyperf/api-doc

ActiveLibrary[API Development](/categories/api)

gb-hyperf/api-doc
=================

A swagger library for Hyperf.

0.0.2(3y ago)0101MITPHPPHP &gt;=8.0

Since Aug 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/shaofan7/hyperfApiDoc)[ Packagist](https://packagist.org/packages/gb-hyperf/api-doc)[ RSS](/packages/gb-hyperf-api-doc/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (1)

Api Doc
=======

[](#api-doc)

hyper 的docs

安装
--

[](#安装)

```
composer require gb-hyperf/api-doc
```

发布配置
----

[](#发布配置)

```
php bin/hyperf.php vendor:publish gb-hyperf/api-doc
```

- 随框架启动自动扫描生成api文件 runtime/openapi.json
- 自动路由 /api-doc 获取api文档
- 浏览器打开：

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

1356d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aa3ec638e43832f4130f59b625379af135af6969a213362d46195472f95b215?d=identicon)[shaofan7](/maintainers/shaofan7)

---

Top Contributors

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

---

Tags

phpswaggerdocshyperfhyperf swagger

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gb-hyperf-api-doc/health.svg)

```
[![Health](https://phpackages.com/badges/gb-hyperf-api-doc/health.svg)](https://phpackages.com/packages/gb-hyperf-api-doc)
```

###  Alternatives

[tangwei/apidocs

A swagger library for Hyperf.

51130.4k8](/packages/tangwei-apidocs)[hyperf/swagger

A swagger library for Hyperf.

19338.7k6](/packages/hyperf-swagger)[daodao97/apidog

A swagger library for Hyperf.

15040.1k1](/packages/daodao97-apidog)[kakuilan/hyperf-apihelper

hyperf api swagger helper

443.0k](/packages/kakuilan-hyperf-apihelper)

PHPackages © 2026

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