PHPackages                             ke/apidoc - 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. ke/apidoc

ActiveLibrary[API Development](/categories/api)

ke/apidoc
=========

一个0侵入性的php接口文档生成助手

0.0.10(5y ago)029HTMLPHP &gt;=7.2.0

Since Sep 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/wdaglb/apidoc)[ Packagist](https://packagist.org/packages/ke/apidoc)[ RSS](/packages/ke-apidoc/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)DependenciesVersions (11)Used By (0)

ke/apidoc
---------

[](#keapidoc)

一个0侵入性的php接口文档生成助手，默认支持Thinkphp5.1/Thinkphp6.0，需要支持更多，自行配置解析器即可(根据./parse/Thinkphp.php修改，很简单)。

安装

```
composer require ke/apidoc
或
composer require ke/apidoc dev-master

```

1. [查看注解使用说明](./docs/README.md)
2. [查看Parse完整配置](./docs/parse.md)
3. [查看注释生成器说明](./docs/comment.md)

ThinkPHP使用注解文档

```
// command.php
return [
    \app\command\ApiDoc::class,
];

// app/command/ApiDoc.php
