jimgitsit/documen
Composer 安装命令:
composer require jimgitsit/documen
包简介
PHP document generator.
关键字:
README 文档
README
Overview
Documen produces html documentation from any php docbock including markup within the docblock. You can tell it to read the docblock on anything from a global function to a class to an entire file.
Install with composer
"require": {
"jimgitsit/documen": "dev-master"
}
Usage In the root of your PHP applicaiton create a file called documen.json. Here is where you will define what files, classes, methods, and function you want to generate documentation for. Here is an example documen.json file:
{
"output-dir": "/app/views/docs" <required, html output directory (relative to the vendor parent dir)>
"css-file": "/public/css/document.css" <optional, custom css file>
"classes": ["MyFancyClass"],
"methods": [
{
"class": "MyFancyClass",
"method": "fancyMethod"
}
],
"files": ["my-fancy-class.php"],
"function": ["some_global_func"]
}
In terminal in project root run:
php vendor/jimgitsit/documen/documen.php generate-docs
统计信息
- 总下载量: 249
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-30