# ApiGen/ApiGen

PHP 7.1 ready Smart and Simple Documentation for your PHP project

Repository: https://github.com/ApiGen/ApiGen
Canonical: https://ross.abutalabs.com/products/apigen
Homepage: http://apigen.github.io/ApiGen/
Language: PHP
License: NOASSERTION
License Family: other
Topics: documentation, generator, apigen, php, php71, apidoc
Last push: 2025-02-21T14:28:13+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 7, release rhythm 8, longevity 100
- inputs: {"age_days": 5667, "days_push": 558, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2169, forks 308 (observed 2026-08-28T04:06:21.597860+00:00)

## What it is
ApiGen is an API documentation generator for PHP projects that parses source code (including modern PHP 8.3 features and PHPStan phpDoc types) and produces readable HTML documentation. It is distributed as a CLI tool and Docker image.

## Use cases
- generate api documentation for a php project
- generate html docs from phpdoc comments
- document php 8 enums and readonly classes
- produce class and namespace reference docs for a php library
- automate api docs generation in ci

## When to choose
- you maintain a PHP library or application and want browsable API docs
- your codebase uses modern PHP 8.x features and PHPStan-style phpDoc types
- you want a simple CLI or Docker-based doc generator

## When to avoid
- you need documentation for non-PHP languages
- you want user guides or markdown-based docs rather than API reference
- you need a hosted documentation service

## Facets
- artifact type: cli-tool
- maturity: active
- function: documentation, api-documentation, parser, static-site-generator
- domain: documentation, developer-tools
- platform: cli, cross-platform
- tags: php, apidoc, phpdoc, doc-generator, static-html-output, docker

## Member repositories
- ApiGen/ApiGen (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.597860+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:20.968364+00:00, confidence not recorded.
  - readme: https://github.com/ApiGen/ApiGen (fetched 2026-08-28T04:06:21.597860+00:00, sha 6011a2fc89b1)
  - homepage: http://apigen.github.io/ApiGen/ (fetched 2026-08-29T10:29:25.018664+00:00, sha 56619efd88eb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
