maosong/phpdoc-md
Composer 安装命令:
composer require maosong/phpdoc-md
包简介
Parse PHP classes and writes documentation to markdown files
关键字:
README 文档
README
phpdoc-md is a tool to generate nicely looking documentation from PHPDOC comments. The intention of this tool is little bit different then standard PHPDocumentator. It focus on class instances and generates documentation from public methods at first place. Whenever class inherits from some other class the full interface from parent and child will be presented as part of it but inherited methods will be placed in separate section.
phpdoc-md is configured via single .phpdoc-md file located in project root directory.
Example of .phpdoc-md file:
<?php
return (object)[
'rootNamespace' => 'Clean\PhpDocMd\Example',
'destDirectory' => 'docs',
'format' => 'github',
'classes' => [
'\Clean\PhpDocMd\Example\Basic'
'\Clean\PhpDocMd\Example\Deep\Foo',
'\Clean\PhpDocMd\Example\ExtendClass',
'\Clean\PhpDocMd\Example\ExtendExtendClass',
],
];
You can see an example documentation generated by this tool in here
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-24