Download the PHP package finntenzor/think-light-doc without Composer
On this page you can find all versions of the php package finntenzor/think-light-doc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download finntenzor/think-light-doc
More information about finntenzor/think-light-doc
Files in finntenzor/think-light-doc
Download finntenzor/think-light-doc
More information about finntenzor/think-light-doc
Files in finntenzor/think-light-doc
Vendor finntenzor
Package think-light-doc
Short Description The light doc module for ThinkPHP 5.1
License Apache-2.0
Package think-light-doc
Short Description The light doc module for ThinkPHP 5.1
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package think-light-doc
think-light-doc
A light weight document tool for ThinkPHP v5.1 面向ThinkPHP v5.1的轻量级文档工具
如何使用
添加依赖
编写文档
文档详细规则(建设中)
- 某一个文档文件(例如项目根目录/docs/v1_1_3.php)
指定路由
在你的ThinkPHP项目中,找到/route/route.php。在你需要的位置添加如下代码:
它等价于自动编写一个Group以及对应的一组路由,因此你可以很轻松地将它和其他路由混合在一起:
并且,它返回了一个RouteGroup,因此你还可以将它跟中间件等其他功能结合在一起。
使用
按照路由访问对应地址即可
All versions of think-light-doc with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package finntenzor/think-light-doc contains the following files
Loading the files please wait ...