# phpDocumentor/ReflectionDocBlock

Repository: https://github.com/phpDocumentor/ReflectionDocBlock
Canonical: https://ross.abutalabs.com/products/reflectiondocblock
Language: PHP
License: MIT
License Family: permissive
Topics: docblocks
Last push: 2026-08-24T10:52:28+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 75, longevity 100
- inputs: {"age_days": 5262, "days_push": 9, "days_rel": 168, "gap_med": 17, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9361, forks 135 (observed 2026-08-28T04:10:30.850217+00:00)

## What it is
A PHP library from the phpDocumentor project that parses DocBlocks (doc comments) into structured objects, fully compatible with the PHPDoc standard. It exposes a DocBlockFactory that yields objects giving access to summaries, descriptions, and tags so other libraries can read or support annotations embedded in DocBlocks.

## Use cases
- parse phpdoc docblocks in php
- extract summary and tags from doc comments
- read annotations embedded in docblocks
- php library to parse doc comment tags
- interpret phpdoc standard comments programmatically
- build annotation support for a php framework

## When to choose
- You need a PHPDoc-standard-compliant DocBlock parser for a PHP library or tool
- You want to read summaries, descriptions, and tags from doc comments as objects
- Your framework or package should support annotations written in DocBlocks

## When to avoid
- You need a full API documentation generator rather than a parsing component (use phpDocumentor itself)
- You only need modern native PHP attributes instead of DocBlock-based annotations
- You are not working in PHP

## Facets
- artifact type: library
- maturity: stable
- function: parser, documentation
- domain: documentation, developer-tools, parsers
- platform: php
- tags: docblock, phpdoc, annotations, reflection, doc-comment-parser, composer-package, phpdocumentor

## Member repositories
- phpDocumentor/ReflectionDocBlock (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:30.850217+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-29T17:22:25.741256+00:00, confidence not recorded.
  - readme: https://github.com/phpDocumentor/ReflectionDocBlock (fetched 2026-08-28T04:10:30.850217+00:00, sha 366790c19ded)
- Data as of 2026-08-30T08:39:29.467469+00:00.
