PHPackages                             alphayax/phpdoc\_md - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. alphayax/phpdoc\_md

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

alphayax/phpdoc\_md
===================

A PHPDoc markdown documentation generator in PHP

1.2.0(10y ago)6383↓85.7%1[1 PRs](https://github.com/alphayax/phpdoc_md/pulls)4MITPHPPHP &gt;=5.5.0

Since Jun 11Pushed 10y ago2 watchersCompare

[ Source](https://github.com/alphayax/phpdoc_md)[ Packagist](https://packagist.org/packages/alphayax/phpdoc_md)[ RSS](/packages/alphayax-phpdoc-md/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (4)Versions (17)Used By (4)

PHPDoc Md
=========

[](#phpdoc-md)

A PHPDoc markdown documentation generator in PHP.

[![stable](https://camo.githubusercontent.com/ddbb4c34105e61e91d6242d80543d99e073e48b182e7285e3fe82b1663310797/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f706870646f635f6d642f762f737461626c65)](https://camo.githubusercontent.com/ddbb4c34105e61e91d6242d80543d99e073e48b182e7285e3fe82b1663310797/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f706870646f635f6d642f762f737461626c65)[![unstable](https://camo.githubusercontent.com/b9dc73e2fd9beb3ba8f124772e3a47f244fdfd060adabab0d291626a0f410373/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f706870646f635f6d642f762f756e737461626c65)](https://camo.githubusercontent.com/b9dc73e2fd9beb3ba8f124772e3a47f244fdfd060adabab0d291626a0f410373/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f706870646f635f6d642f762f756e737461626c65)[![pakagist](https://camo.githubusercontent.com/6696abb20649f801bf12c5c120d1c20cf5a3afba64baf43d72a1126c53a4ccd4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c7068617961782f706870646f635f6d642e737667)](https://camo.githubusercontent.com/6696abb20649f801bf12c5c120d1c20cf5a3afba64baf43d72a1126c53a4ccd4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c7068617961782f706870646f635f6d642e737667)

[![Build Status](https://camo.githubusercontent.com/fdc8d36f6d0b6ee5ed790e779b279af2602a7538bce54a83fcfe78e7d2b9d713/68747470733a2f2f7472617669732d63692e6f72672f616c7068617961782f706870646f635f6d642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alphayax/phpdoc_md)[![Coverage](https://camo.githubusercontent.com/f8d57c8a0eddddf3677a43d29e3e8e4ba47ccb207399195b1364a6c5f1a07366/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3932643834623764356632383463323438393337303939666663376166613561)](https://www.codacy.com/app/alphayax/phpdoc_md?utm_source=github.com&utm_medium=referral&utm_content=alphayax/phpdoc_md&utm_campaign=Badge_Coverage)[![Codacy Badge](https://camo.githubusercontent.com/2dc5e390e3854a566397e01df97986bdce843fc33f43c419c598fd6562ea5119/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3932643834623764356632383463323438393337303939666663376166613561)](https://www.codacy.com/app/alphayax/phpdoc_md?utm_source=github.com&utm_medium=referral&utm_content=alphayax/phpdoc_md&utm_campaign=Badge_Grade)

[![License](https://camo.githubusercontent.com/256c2bca26d8f8b189e2bed0d8763c56d60a107170807d5986ec317880e715ad/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f706870646f635f6d642f6c6963656e7365)](https://packagist.org/packages/alphayax/phpdoc_md)[![Total Downloads](https://camo.githubusercontent.com/e992e397f0089690bd3eb0dfb593f1f0a39203aab7348522865f771b7faafc99/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f706870646f635f6d642f646f776e6c6f616473)](https://packagist.org/packages/alphayax/phpdoc_md)

Installation
------------

[](#installation)

Use [composer](https://getcomposer.org/) !

```
composer require alphayax/phpdoc_md

```

Usage
-----

[](#usage)

This example (from [example](example/)) will generate a markdown documentation for classes in the given namespace :

```
require_once '../vendor/autoload.php';

$srcDir     = __DIR__.'/../src';
$namespace  = 'alphayax\mdGen';

$gen = new \alphayax\mdGen\MdGen( $srcDir, $namespace);
$gen->generate( 'md_gen');
```

Documentation
-------------

[](#documentation)

The documentation is auto-generated with this sources :)

- [models](docs/models/__NAMESPACE__.md)
    - [NamespaceMd](docs/models/__NAMESPACE__.md#NamespaceMd)
    - [ClassMd](docs/models/__NAMESPACE__.md#ClassMd)
    - [MethodMd](docs/models/__NAMESPACE__.md#MethodMd)
- [utils](docs/utils/__NAMESPACE__.md)
    - [arrayAccessProperties](docs/utils/__NAMESPACE__.md#arrayAccessProperties)
- [MdGen](docs/__NAMESPACE__.md#MdGen)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

15

Last Release

3652d ago

Major Versions

0.0.6 → 1.0.02016-06-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7924417?v=4)[Yann Ponzoni](/maintainers/alphayax)[@alphayax](https://github.com/alphayax)

---

Top Contributors

[![alphayax](https://avatars.githubusercontent.com/u/7924417?v=4)](https://github.com/alphayax "alphayax (21 commits)")

---

Tags

phpdocmarkdownDocumentation generator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alphayax-phpdoc-md/health.svg)

```
[![Health](https://phpackages.com/badges/alphayax-phpdoc-md/health.svg)](https://phpackages.com/packages/alphayax-phpdoc-md)
```

###  Alternatives

[evert/phpdoc-md

PHP documentation generator, with markdown output

171174.8k95](/packages/evert-phpdoc-md)[clean/phpdoc-md

Parse PHP classes and writes documentation to markdown files

45140.4k45](/packages/clean-phpdoc-md)[dudo1985/wpdocgen

Documentation Generator for WordPress.

2332.3k](/packages/dudo1985-wpdocgen)[cvuorinen/phpdoc-markdown-public

phpDocumentor template that generates Markdown documentation of the public API

3513.9k29](/packages/cvuorinen-phpdoc-markdown-public)[nelson6e65/phpdoc-vuepress

Template for generating your PHP API documentation in a pretty VuePress format.

224.6k2](/packages/nelson6e65-phpdoc-vuepress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
