API documentation generator for PHP
open sourceMITfree
phpDocumentor generates API documentation for PHP projects from their source code and DocBlock comments. It also draws UML class diagrams (with PlantUML installed), parses reStructuredText and Markdown guides, and can embed parts of the API reference in those guides so they stay in sync with the code. It understands namespaces, closures and generics, parses incrementally from a cached structure file, and takes custom templates. It installs with phive, as a PHAR, as a Docker image or (not recommended by its makers) with Composer.
Problems it solves
- generate API documentation from my PHP docblocks
- publish a reference site for my PHP library
- draw class diagrams of my PHP code base
Features
- API documentation from PHP source and DocBlocks
- UML class diagrams via PlantUML
- reStructuredText and Markdown guides with embedded API references
- incremental parsing from a cached structure file
- custom templates
Limitations
Alternatives
The same job
These do what phpDocumentor does.
- JSDoc API documentation generator for JavaScript from comments in the code
- Doxygen Code documentation. Automated. Free, open source, cross-platform.
- DocFX Static site generator for .NET API documentation
- Dokka API documentation engine for Kotlin
- mkdocstrings Automatic documentation from sources, for MkDocs
- pdoc API documentation for Python projects
