qmetrics.net

phpDocumentor

PHP source and DocBlock documentation generator

phpDocumentor screenshot

phpDocumentor scans PHP code and DocBlock comments to emit API reference documentation. It can also render class diagrams and parse Markdown or reStructuredText guides.

Overview

phpDocumentor analyzes PHP projects and produces structured API documentation from source and inline DocBlock annotations. Output can include browsable reference pages, and optional class diagrams depend on PlantUML when that tool is installed on the host running the generator.

The tool supports modern PHP language features such as namespaces, closures, and generic type annotations reflected in the docs. It parses an incremental structure cache first, which speeds repeat runs when the cache file is kept. Templates are customizable for branding, and markup in reStructuredText or Markdown can embed live API excerpts.

Installation paths include phive, a PHAR file, Docker image phpdoc/phpdoc, and a Composer shim the authors discourage for dependency conflict reasons. Running phpdoc with -d and -t points input sources and an output directory, and phpdoc.xml configuration files tune behavior without long command lines.

Generated sites may offer full-text search offline, and CI examples use a GitHub Action or the Docker image to regenerate docs in pipelines. Class diagram generation is gated behind --setting=graphs.enabled=true when PlantUML is available.

Key features

  • API docs from PHP source and DocBlocks
  • UML class diagrams via PlantUML
  • reStructuredText and Markdown parsing
  • Incremental parsing with structure cache
  • Customizable documentation templates
  • Generics and advanced PHP type display
  • Docker PHAR phive installation options
  • Configuration files phpdoc.xml

Use cases

  • Publishing PHP library API reference sites
  • Keeping internal package docs in CI
  • Visualizing class structure with diagrams
  • Linking prose guides to live API snippets

Tags

Similar software

AppFlowy

Open-source, self-hostable AI workspace for projects, wikis and teams

AppFlowy is an AI workspace that combines documents, wikis, databases and project management in one app. Teams can self-host it and keep control of their data, with desktop, mobile and web clients.

  • Documents, wikis and flexible databases
  • Project management tools
  • AI search, writing assistant and chatbot
DartLinux, macOS, Windows, AndroidDetails →
★ 79.9k⟳ 1 month agoAGPL-3.0
Open Source Alternative to:AsanaCoda+10

Docusaurus

React-based static site generator for documentation

Docusaurus builds documentation sites, blogs, and marketing pages from MDX content. It ships preset layouts and plugins so teams can publish quickly.

  • MDX-powered docs and blog authoring
  • Pluggable React layout customization
  • Built-in localization support
TypeScriptCLIDetails →
★ 66.8k⟳ todayMIT
Open Source Alternative to:Mintlify

Outline

Collaborative team knowledge base for internal docs and wikis

Outline is a fast, markdown-friendly wiki for teams to store specs, support answers, meeting notes, and onboarding material. A hosted offering exists, and you can also run your own instance.

  • Realtime collaborative document editing
  • Markdown editor with slash commands and embeds
  • Workspace search with AI question answering
TypeScriptDockerDetails →
★ 41.5k⟳ todaySource-available

DevDocs

Unified offline-capable API documentation browser

Combines many developer API references in one searchable web interface. Supports instant search, offline use, mobile layout, dark theme, and keyboard shortcuts.

  • Multiple docs in one UI
  • Instant full-text search
  • Offline mode and PWA support
RubyWeb, Linux, macOS, WindowsDetails →
★ 39.7k⟳ todayMPL-2.0

docsify

Dynamic Markdown documentation site generator

Turns Markdown files into a documentation website in the browser without a static HTML build step, with themes, search, and plugins.

  • No static HTML build step
  • Runtime Markdown rendering
  • Full-text search plugin
JavaScriptDetails →
★ 31.6k⟳ yesterdayMIT
Open Source Alternative to:Mintlify

Wiki.js

Self-hosted wiki with rich Markdown authoring

Wiki.js is a web wiki you run yourself, backed by Node.js and PostgreSQL. Teams author pages in Markdown or other editors, collaborate in real time, and govern access with path-based rules.

  • Markdown editing with live preview
  • Real-time collaborative live notes
  • Built-in PostgreSQL full-text search
TypeScriptWeb, DockerDetails →
★ 29.4k⟳ todayAGPL-3.0
Open Source Alternative to:ConfluenceConfluence Data Center+3