PHPackages                             groensch24/phpdoc-to-rst - 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. groensch24/phpdoc-to-rst

ActiveLibrary

groensch24/phpdoc-to-rst
========================

Generate Sphinx/ReStructured documentation from PHPDoc

07PHP

Since Oct 7Pushed 3y agoCompare

[ Source](https://github.com/groensch24/phpdoc-to-rst)[ Packagist](https://packagist.org/packages/groensch24/phpdoc-to-rst)[ RSS](/packages/groensch24-phpdoc-to-rst/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpdoc-to-rst
=============

[](#phpdoc-to-rst)

[![Documentation Status](https://camo.githubusercontent.com/5abb6ee28c3b0bcafa732aa1d8ad0b15ac87ad7914c2e323666a29bec40378e6/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f706870646f632d746f2d7273742f62616467652f3f76657273696f6e3d6c6174657374)](http://phpdoc-to-rst.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://camo.githubusercontent.com/4d6b3e741ec3f293f675bce116888a535a4e0a4f6df46b32bee22300bdb12235/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a756c69757368616572746c2f706870646f632d746f2d7273742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/juliushaertl/phpdoc-to-rst/build-status/master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/1a9c6e81ed54a2ec847123cbbcf0f9f6eef81a1010bbfa1b5d4bb267a8bf27a9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a756c69757368616572746c2f706870646f632d746f2d7273742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/juliushaertl/phpdoc-to-rst/?branch=master)

Generate reStructuredText for Sphinx based documentation from PHPDoc annotations.

This project is heavily based on [phpDocumentor/Reflection](https://github.com/phpDocumentor/Reflection)and makes use of [sphinxcontrib-phpdomain](https://github.com/markstory/sphinxcontrib-phpdomain).

An example for the documentation output can be found in our [own documentation](http://phpdoc-to-rst.readthedocs.io/en/latest/api_docs.html)

Quickstart
----------

[](#quickstart)

Install phpdoc-to-rst to your project directory:

```
composer require --dev juliushaertl/phpdoc-to-rst

```

Run the command line tool to parse the folders containing your PHP tree and render the reStructuredText files to the output directory:

```
./vendor/bin/phpdoc-to-rst docs/api/ src/

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1fc3405d47b275fb2e6ced689188aec6652bdca247373e1693920d7a4c50db8?d=identicon)[roenschg](/maintainers/roenschg)

---

Top Contributors

[![juliusknorr](https://avatars.githubusercontent.com/u/3404133?v=4)](https://github.com/juliusknorr "juliusknorr (64 commits)")[![groensch24](https://avatars.githubusercontent.com/u/85474213?v=4)](https://github.com/groensch24 "groensch24 (3 commits)")[![stuba](https://avatars.githubusercontent.com/u/818066?v=4)](https://github.com/stuba "stuba (3 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")

### Embed Badge

![Health badge](/badges/groensch24-phpdoc-to-rst/health.svg)

```
[![Health](https://phpackages.com/badges/groensch24-phpdoc-to-rst/health.svg)](https://phpackages.com/packages/groensch24-phpdoc-to-rst)
```

PHPackages © 2026

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