phpDocumentor is a documentation generator for PHP applications and libraries. It examines PHP source code and produces API references that describe the structure, interfaces and relationships within a project.
The software extracts information directly from PHP declarations and supplements it with descriptions written in DocBlocks. These specially formatted comments let developers explain parameters, return types, exceptions and other aspects of their code. phpDocumentor can combine the resulting API reference with additional written documentation to provide a fuller account of how a project works.
The application is useful for library maintainers and development teams that need documentation to evolve alongside their PHP codebases. It provides a structured alternative to manually maintaining references for complex object-oriented projects and can be incorporated into automated documentation workflows.
This is free and open source software.
Key Features
- Analyses PHP classes, interfaces, traits, namespaces, methods, functions, properties and constants.
- Processes PHPDoc annotations describing parameters, return values, exceptions, inheritance and other code properties.
- Generates interconnected API references with navigation between related elements.
- Creates UML class diagrams through PlantUML or Graphviz.
- Provides full-text searching, including support for offline documentation.
- Customisable themes and templates provide control over documentation appearance.
- Supports manually written guides and references alongside automatically extracted API information.
- Can report markers such as deprecated functionality, errors and documentation issues.
- Integrates with continuous integration workflows for automated documentation generation.
- Extension mechanisms support additional documentation processing requirements.
Website: github.com/phpDocumentor/phpDocumentor
Support:
Developer: phpDocumentor contributors
License: MIT License
phpDocumentor is written in PHP. Learn PHP with our recommended free books and free tutorials.
Related Software
| Documentation Generators | |
|---|---|
| JSDoc | API documentation generator for JavaScript |
| Javadoc | Generate API documentation in HTML format |
| Sphinx | Create intelligent and beautiful documentation for Python projects |
| phpDocumentor | Complete documentation solution for PHP |
| Doxygen | Documentation system for C, C++, Java, Python and other languages |
| Docusaurus | Build, deploy and maintain documentation websites |
| mdBook | Create modern online books from Markdown files |
| YARD | Ruby documentation tool |
| Starlight | Documentation website framework |
| Docco | Literate-programming-style documentation generator |
| Natural Docs | Documentation generator that supports 21 different languages |
| Quarto | Scientific and technical publishing system |
| Antora | Modular documentation site generator |
| Crycco | Quick and dirty documentation generator |
| ROBODoc | Documentation tool similar to Javadoc |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.