Download the PHP package zhangzhuow/document without Composer
On this page you can find all versions of the php package zhangzhuow/document. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zhangzhuow/document
More information about zhangzhuow/document
Files in zhangzhuow/document
Download zhangzhuow/document
More information about zhangzhuow/document
Files in zhangzhuow/document
Please rate this library. Is it a good library?
Informations about the package document
基于ThinkPHP5.0的文档生成插件
- 安装要求
- 安装
- 使用方式
- 可以使用的参数
安装要求
PHP >= 5.3.2
thinkphp = 5.0.*
安装
使用composer安装
使用方式
配置command.php文件,目录在application/command.php
将扩展包config文件夹内的site.php拷贝至application/extra文件夹
执行ThinkPHP命令行会新增一个api命令
执行api命令生成html文档
html文档位置为public目录
可以使用的参数
- @ApiTitle (name)
- @ApiDescription(section="...", description="...")
- @ApiMethod(type="(get|post|put|delete|patch")
- @ApiRoute(name="...")
- @ApiParams(name="...", type="...", nullable=..., required="...", value="...", description="...", [sample=".."])
- @ApiHeaders(name="...", type="...", nullable=..., required="...", value="...", description="...")
- @ApiReturnHeaders(sample="...")
- @ApiReturn(type="...", sample="...")
- @ApiBody(sample="...")
只会生成带有@ApiTitle参数的方法和类
All versions of document with dependencies
PHP Build Version
Package Version
The package zhangzhuow/document contains the following files
Loading the files please wait ....