garrcomm/markdown-generator
Composer 安装命令:
composer require garrcomm/markdown-generator
包简介
Class Documentation generator
关键字:
README 文档
README
For my code projects, I like to provide proper documentation. Best way, in my opinion, is to start with well-documented code.
To generate markdown formatted documentation based on the codebase, I wrote this small tool.
It uses PHP Reflection to read out code information and formats according to the structure used on php.net documentation.
These projects can be used as an example:
| Library | Markdown file | Config |
|---|---|---|
| garrcomm/uuid | README.md | .mdgen.json |
| garrcomm/networking-utilities | README.md | .mdgen.json |
How to use
Usage is very simple;
- Load this package by composer with
composer require garrcomm/markdown-generator v1.x-dev --dev - Create a config file (see the list above for examples)
- Execute the generator;
vendor/bin/mdgen mdgen.json
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: CC-BY-SA-4.0
- 更新时间: 2023-05-22