symplify/simple-php-doc-parser
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| crodas/notoj | 0.89 | 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 | — | — | — |
|
| ibrows/annotation-reader | 0.87 | 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 | — | — | |
| block8/php-docblock-checker | 0.86 | 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 |
|
| mpociot/reflection-docblock | 0.86 | 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 | |
| prinsfrank/phpstan-doc-code-analyzer | 0.86 | Analyze and validate PHP code examples in your documentation using PHPStan. This package scans doc blocks and docs for code snippets, runs static analysis, and helps catch outdated or incorrect examples early in CI. | 2 | 2 | 0 | 2K | 0 | 1.0 | 38.8 | MIT | 1 year ago | |
| doctrine/lexer | 0.86 | Doctrine Lexer is a lightweight base library for building lexers used in top-down, recursive descent parsers. It powers Doctrine Annotations and Doctrine ORM's DQL parser, offering a simple, reliable foundation for tokenizing input. | 11,142 | 11,164 | 68 | 25M | 1 | 49.3 | 53.7 | MIT | 1 month ago | |
| phpowermove/docblock | 0.85 | 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 | |
| symplify/phpstan-rules | 0.85 | A set of 80+ practical PHPStan rules for checking clean architecture, logical errors, naming, namespace placement, visibility overrides, and Symfony, Doctrine, and PHPUnit best practices—useful for any PHP project, from legacy codebases to modern stacks. | 277 | 270 | 36 | 617K | 0 | 25.1 | 54.1 | MIT | 2 weeks ago | |
| martyrer/simple-html-dom-bundle | 0.85 | A Symfony bundle that integrates PHP Simple HTML DOM into your application, giving you a convenient service for parsing and manipulating HTML using jQuery-like selectors. Load pages, traverse the DOM, and extract or edit elements with straightforward, readable syntax. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| phpdocumentor/reflection-docblock | 0.85 | 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. | 0 | 9,379 | — | 19M | — | 9.9 | 55.3 | — | — | |
| phpdocumentor/guides-restructured-text | 0.85 | 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 | |
| symplify/rule-doc-generator | 0.84 | Generate consistent, readable documentation for custom PHP rules. Symplify Rule Doc Generator creates rule descriptions and examples automatically, helping you document PHPStan, Rector, or coding-standard rules quickly and keep docs in sync with code. | 30 | 31 | 3 | 17K | 0 | 0.2 | 38.0 | MIT | — | |
| clean/phpdoc-md | 0.84 | 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 | — | — | |
| sphpdox/sphpdox | 0.84 | 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 | |
| kzykhys/ciconia | 0.84 | Ciconia is a flexible CommonMark/Markdown parser for PHP, converting Markdown to HTML with support for GitHub-flavored syntax and extensions. Designed to be customizable, it fits well in apps needing reliable Markdown rendering and control over output. | 350 | 353 | 28 | 156 | 15 | 10.9 | 8.5 | MIT | 12 years ago | |
| laravie/parser | 0.84 | Laravie Parser is a PHP source-code parsing library for Laravel applications. It offers a simple API for tokenizing and traversing code, inspecting classes, methods, and syntax trees, and integrating static analysis or code-generation tools into your projects. | 230 | — | 27 | — | 0 | 2.1 | — | MIT | 1 year ago |
|
| phpdocumentor/reflection-common | 0.84 | 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 | |
| gossi/docblock | 0.84 | 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 |
|
| parsica-php/parsica | 0.84 | Parsica is a PHP parser combinator library for building custom parsers from small reusable pieces. Compose complex grammars with a fluent API, parse strings into structured results, and handle errors cleanly—ideal for DSLs, config formats, and language tooling. | 413 | 413 | 19 | 20K | 11 | 10.8 | 29.6 | MIT | 1 year ago | |
| phpstan/phpstan-php-parser | 0.84 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | 28.3 | — | 4 years ago |
How can I help you explore Laravel packages today?