# Doctum

Command-line generator that builds API documentation from PHP source code and its phpdoc comments.


Source: https://findsoftware.frbit.cloud/doctum/
Last reviewed: 2026-10-20
Updated: 2026-10-25
Listed since: 2026-10-20

## Record

### Links

- home: https://doctum.long-term.support/
- repository: https://github.com/code-lts/doctum
- docs: https://github.com/code-lts/doctum#readme

### Identity

- status: active
- maintainer: Fabien Potencier and William Desportes
- maintainerType: unknown
- parent: unknown
- firstRelease: unknown
- hqCountry: unknown

### Kind

- category: ssg
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.1
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: unknown
- renderingModes: unknown
- installMethod: phar download

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-02-06

### Adoption

- githubStargazers: 361
- packagistDownloads: 118115
- npmWeeklyDownloads: not applicable
- contributors: unknown
- pluginCount: unknown
- packagistMonthlyDownloads: 26211
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 61
- dependentPackages: 22

### Sources

- urls: https://doctum.long-term.support/ (read 2026-10-20)
- urls: https://github.com/code-lts/doctum (read 2026-10-20)
- urls: https://github.com/code-lts/doctum/blob/main/README.rst (read 2026-10-20)
- maintainer: https://github.com/code-lts/doctum/blob/main/LICENSE (read 2026-10-20)
- maintainer: https://github.com/code-lts/doctum/blob/main/LICENSE (read 2026-10-20)
- category: https://doctum.long-term.support/ (read 2026-10-20)
- language: https://github.com/code-lts/doctum (read 2026-10-20)
- runtime: https://repo.packagist.org/p2/code-lts/doctum.json (read 2026-10-20)
- runtimeMin: https://repo.packagist.org/p2/code-lts/doctum.json (read 2026-10-20)
- installMethod: https://doctum.long-term.support/ (read 2026-10-20)
- license: https://github.com/code-lts/doctum (read 2026-10-20)
- licenseModel: https://github.com/code-lts/doctum (read 2026-10-20)
- currentMajor: https://github.com/code-lts/doctum/releases/tag/v5.6.0 (read 2026-10-20)
- latestReleaseDate: https://api.github.com/repos/code-lts/doctum/releases/latest (read 2026-10-20)
- packagistDownloads: https://packagist.org/packages/code-lts/doctum.json (read 2026-10-20)
- packagistDownloads: https://packagist.org/packages/code-lts/doctum.json (read 2026-10-20)
- githubStargazers: https://api.github.com/repos/code-lts/doctum (read 2026-10-20)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/code-lts%2Fdoctum (read 2026-10-25)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/code-lts%2Fdoctum (read 2026-10-25)
- packagistMonthlyDownloads: https://packagist.org/packages/code-lts/doctum/stats.json (read 2026-10-25)

## Notes

Doctum reads PHP source code and its phpdoc comments and writes API documentation for a library. A configuration file returns a `Doctum\Doctum` object that points at the source directory and sets options such as the title, language and build directory. The tool is distributed as a single phar file, as the [homepage](https://doctum.long-term.support/) describes.

Doctum is a fork of Sami, a PHP API documentation generator, and its README states this. The [README](https://github.com/code-lts/doctum/blob/main/README.rst) also links a GitHub Action for use in GitHub CI.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
