phpdocumentor/reflection-docblock
A DocBlock parser fully compatible with the PHPDoc standard. Use its DocBlockFactory to read summaries, descriptions, tags, and annotations from doc comments or reflection classes, so your library can extract embedded documentation and metadata.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ibrows/annotation-reader | 0.91 | ibrows/annotation-reader parses PHP docblock annotations into structured objects, letting you read class, method and property metadata at runtime via reflection. A lightweight API for annotation scanning, useful for custom routing, ORMs, validation or framework features in Laravel and plain PHP proj... | 0 | 1 | 1 | 16 | 0 | 0.0 | 17.0 | — | — | |
| symplify/simple-php-doc-parser | 0.91 | Simple PHP Doc Parser by Symplify is a lightweight library for reading PHP docblocks. It extracts comments, tags, and annotations from classes, methods, and properties through a simple API, making PHPDoc data easy to use in static analysis, code generation, and documentation tools. | 0 | 24 | — | 480 | — | 0.0 | 37.1 | — | — | |
| barryvdh/reflection-docblock | 0.89 | Fork of phpDocumentor ReflectionDocBlock for laravel-ide-helper. Parses PHPDoc DocBlocks to extract descriptions, tags, and types, working like PHP’s Reflection. Use to read getDocComment() from classes/methods or raw DocBlock strings. | 0 | 1,331 | — | 5M | — | 3.3 | 55.3 | — | — | |
| mpociot/reflection-docblock | 0.89 | Parse and work with PHP DocBlocks via reflection. mpociot/reflection-docblock extracts summaries, descriptions, tags, params, and return types from classes, methods, and properties, making it easy to generate documentation or build tooling that relies on DocBlock metadata. | 85 | 85 | 4 | 1M | 2 | 1.5 | 55.1 | MIT | 10 years ago | |
| phpstan/phpdoc-parser | 0.89 | phpstan/phpdoc-parser parses PHPDocs into a typed AST so you can read and modify docblocks programmatically. It handles rich types like unions, generics, array shapes, callables, and conditional types, plus Doctrine annotations. Powers PHPStan. | 1,541 | 1,540 | 79 | 20M | 6 | 42.4 | 71.7 | MIT | 1 week ago | |
| phpdocumentor/guides-restructured-text | 0.89 | phpDocumentor guides reStructuredText parser. Converts reST documents into structured guide nodes for phpDocumentor’s Guides system, enabling documentation builds from .rst sources with directives, roles, includes, and cross-references. | 0 | 0 | 1 | 15K | 0 | 0.6 | 55.3 | MIT | 2 years ago | |
| phpdocumentor/reflection-common | 0.89 | ReflectionCommon provides the shared interfaces and base classes behind phpDocumentor's reflection layer, defining common contracts for elements, types, and locations used across the ecosystem. A lightweight, dependency-free foundation for building reflection-based tooling in PHP. | 9,031 | 9,044 | 22 | 12M | 0 | 47.6 | 50.4 | MIT | 1 month ago | |
| crodas/notoj | 0.88 | Notoj is a lightweight PHP annotation parser that reads docblock annotations with a fast tokenizer, no heavy dependencies. Define annotation classes extending Notoj's base, then parse methods, classes, and properties to build routing, validation, or metadata layers. | 36 | — | 5 | — | 0 | 0.3 | — | — | — |
|
| php-di/phpdoc-reader | 0.88 | PhpDocReader parses @var and @param docblock types to resolve class names, supporting fully qualified, imported, relative, and aliased names with the same rules as PHP. Primitive types are ignored; only valid class names are returned. Used by PHP-DI. | 73 | 77 | 15 | 629K | 0 | 4.1 | 54.3 | MIT | 6 years ago | |
| phpdocumentor/reflection | 0.88 | Static PHP code reflection library that parses one or more files (no execution) to build an object graph of your application's structure, including DocBlocks. Supports analyzing PHP versions from 5.2 up to your installed PHP version; useful for reflecting whole projects. | 124 | 126 | 60 | 907K | 8 | 26.3 | 60.9 | MIT | 5 months ago | |
| phpowermove/docblock | 0.88 | Parse, create, and edit PHP DocBlocks with a simple API. Build Docblock instances from strings or reflection, read and filter tags, add tags via fluent helpers, and render back to formatted docblock text for code generation and tooling. | 25 | 25 | 6 | 1M | 0 | 4.5 | 55.3 | MIT | 5 years ago | |
| gossi/docblock | 0.88 | gossi/docblock is a lightweight PHP library for parsing and generating PHP docblocks. It offers a clean API to read descriptions, tags, and annotations, and to build well-formatted docblocks programmatically—useful for code generators, tooling, and static analysis workflows. | 25 | — | 6 | — | 0 | 0.3 | — | MIT | 5 years ago |
|
| clean/phpdoc-md | 0.88 | clean/phpdoc-md generates clean Markdown documentation from PHP source code and PHPDoc comments. It parses classes, methods, properties, and docblocks, then outputs readable Markdown suitable for READMEs, wikis, or static docs. Easy to run and integrate into build or CI workflows for up-to-date API... | 0 | 45 | — | 3K | — | 0.3 | 48.0 | — | — | |
| phpdocumentor/phpdocumentor | 0.87 | phpDocumentor is the de-facto documentation tool for PHP, generating complete API docs from your source code and DocBlocks, with UML diagrams plus Markdown and RestructuredText support to keep docs and code in sync. | 4,349 | 4,421 | 646 | 14K | 139 | 76.5 | 37.5 | MIT | 5 months ago | |
| block8/php-docblock-checker | 0.87 | A CLI tool that scans PHP files and verifies classes and methods have proper DocBlocks, reporting missing or incomplete comments with file and line details. Ideal for enforcing documentation standards in CI pipelines and code reviews. | 31 | — | 37 | — | 8 | 1.9 | 2.7 | BSD-2-Clause | 5 years ago |
|
| sphpdox/sphpdox | 0.87 | sphpdox is a fast PHP API documentation generator and a modern alternative to phpDocumentor. It parses your codebase using reflection to produce clean, customizable HTML docs for classes, interfaces, traits, and namespaces, with template support and simple CLI usage. | 48 | 48 | 16 | 148 | 7 | 2.6 | 10.2 | GPL-3.0 | 8 years ago | |
| stevebauman/autodoc-facades | 0.85 | Automatically generates PHPDoc docblocks for your Laravel facades, giving you full IDE auto-completion, type-hinting, and static analysis support without writing annotations by hand. Run one Artisan command and let it document every facade method for you. | 99 | — | 4 | — | 1 | 8.4 | — | MIT | 7 months ago |
|
How can I help you explore Laravel packages today?