定制 clean/phpdoc-md 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clean/phpdoc-md

最新稳定版本:0.19.3

Composer 安装命令:

composer require clean/phpdoc-md

包简介

Parse PHP classes and writes documentation to markdown files

README 文档

README

Build Status Code Climate Test Coverage Issue Count Latest Stable Version Total Downloads License

Image of example documentation

phpdoc-md is a tool to generate nicely looking documentation from PHPDOC comments.

It allows to generate documentation markdown files easy to read and follow directly on github, gitlab or bitbucket sites.

You can see an example documentation generated by this tool in here

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.

How to use it?

phpdoc-md is configured via single (php format) .phpdoc-md file located in your 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',
    ],
];

统计信息

  • 总下载量: 117.53k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 46
  • 点击次数: 1
  • 依赖项目数: 40
  • 推荐数: 0

GitHub 信息

  • Stars: 45
  • Watchers: 6
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-04