PHPackages                             hongfs/fastadmin-docsify - 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. hongfs/fastadmin-docsify

ActiveLibrary

hongfs/fastadmin-docsify
========================

00PHP

Since Jan 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hongfs/fastadmin-docsify)[ Packagist](https://packagist.org/packages/hongfs/fastadmin-docsify)[ RSS](/packages/hongfs-fastadmin-docsify/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Fastadmin 生成 Docsify 文档工具
=========================

[](#fastadmin-生成-docsify-文档工具)

使用
--

[](#使用)

安装依赖：

```
$ composer require hongfs/fastadmin-docsify:dev-main -vvv
```

引入命令：

`application/command.php`

```
return [
    ...
    'Hongfs\FastadminDocsify\Generate',
];
```

生成：

```
$ php think docsify --force=true
```

示例
--

[](#示例)

```
/**
 * 测试方法
 *
 * @ApiTitle    (测试名称)
 * @ApiSummary  (测试描述信息)
 * @ApiMethod   (POST)
 * @ApiBody 	(更多信息内容)
 * @ApiRoute    (/api/demo/test/id/{id}/name/{name})
 * @ApiHeaders  (name=token, type=string, required=true, description="请求的Token")
 * @ApiParams   (name="id", type="integer", required=false, description="会员ID")
 * @ApiParams   (name="name", type="string", required=true, description="用户名")
 * @ApiParams   (name="data", type="object", sample="{'user_id':'int','user_name':'string','profile':{'email':'string','age':'integer'}}", description="扩展数据")
 * @ApiReturnParams   (name="code", type="integer", required=true, sample="0")
 * @ApiReturnParams   (name="msg", type="string", required=true, sample="返回成功")
 * @ApiReturnParams   (name="data", type="object", sample="{'user_id':'int','user_name':'string','profile':{'email':'string','age':'integer'}}", description="扩展数据返回")
 * @ApiReturn   ({"code":"1","msg":"返回成功","more":"这里记得要能被格式化的格式"})
 */
public function test()
{
    $this->success('返回成功', $this->request->param());
}
```

License
-------

[](#license)

MIT

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![hongfs](https://avatars.githubusercontent.com/u/23376043?v=4)](https://github.com/hongfs "hongfs (2 commits)")

### Embed Badge

![Health badge](/badges/hongfs-fastadmin-docsify/health.svg)

```
[![Health](https://phpackages.com/badges/hongfs-fastadmin-docsify/health.svg)](https://phpackages.com/packages/hongfs-fastadmin-docsify)
```

PHPackages © 2026

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