phpdocumentor/reflection
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/phpdoc-parser | 0.88 | 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/reflection-common | 0.88 | 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 | |
| fsi/reflection | 0.87 | Optimized Reflection for PHP 5.3 that caches ReflectionClass/Method/Property objects via factory() so they’re never created twice. Returned methods/properties are pre-set accessible for private/protected access; some uncached operations throw exceptions. | 7 | 8 | 3 | 823 | 1 | 0.2 | 27.8 | MIT | — | |
| phpdocumentor/guides-cli | 0.87 | Command-line tool for building phpDocumentor Guides documentation. Turns reStructuredText/Guides projects into static HTML (and other formats) with configurable themes, extensions, and build options—ideal for generating project docs in CI/CD pipelines. | 0 | 0 | 1 | 2K | 0 | 0.9 | 45.7 | — | 2 years ago | |
| 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 | |
| sajadsdi/php-reflection | 0.87 | Lightweight wrapper around PHP’s built-in Reflection API. Inspect classes by name or instance and quickly fetch ReflectionClass plus lists of properties, methods, and constants. Simple Reflections helper for common reflection tasks. | 1 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 2 years ago | |
| league/construct-finder | 0.87 | Locate PHP code constructs (classes, interfaces, traits, enums) within one or more directories. Returns construct objects or just names, with type-specific finders and support for excluding files via simple wildcard patterns. | 44 | 44 | 5 | 33K | 0 | 0.4 | 39.5 | — | — | |
| mpociot/reflection-docblock | 0.87 | 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 | |
| sstalle/php7cc | 0.86 | — | 1,507 | 1,456 | 121 | 1K | 20 | 18.9 | 10.6 | MIT | 9 years ago | |
| imanghafoori/php-imports-analyzer | 0.86 | CLI tool to scan Composer-based PHP projects for unnecessary or incorrect use/import statements. Helps clean up imports and enforce coding standards across apps and open-source packages. Install as dev dependency or globally; run check_imports from your project root. | 21 | 22 | 1 | 8K | 0 | 0.1 | 35.7 | MIT | — | |
| evert/phpdoc-md | 0.86 | Generates Markdown documentation from PHP source using phpDocumentor-style docblocks. Turn packages and libraries into clean README/API docs with configurable templates and output paths—handy for publishing reference docs to GitHub, wikis, or static sites. | 169 | 171 | 43 | 816 | 5 | 3.8 | 12.8 | MIT | — | |
| sebastian/object-reflector | 0.86 | sebastian/object-reflector lets you reflect an object's properties, including inherited, private, and protected ones. Install it via Composer to inspect and access object state that PHP's default reflection utilities don't easily expose. | 6,271 | 6,277 | 3 | 25M | 1 | 41.8 | 56.4 | BSD-3-Clause | 2 months ago | |
| phpdocumentor/reflection-docblock | 0.86 | 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 | — | — | |
| theseer/phpdox | 0.86 | phpDox is a PHP documentation generator that builds API docs from your source code using reflection, tokens, and optional PHPDoc. It produces structured HTML output and integrates with PHPUnit coverage, offering configurable builds for libraries and apps. | 597 | 606 | 120 | 8K | 47 | 24.1 | 32.5 | NOASSERTION | 7 years ago | |
| phpdocumentor/guides | 0.86 | phpDocumentor Guides is a PHP documentation generator for writing and publishing rich docs in reStructuredText/Markdown. Build structured guides with navigation, code blocks, and theming, and output to HTML or other formats for your project or package. | 2 | 2 | 1 | 8K | 0 | 0.0 | 47.5 | MIT | — | |
| nunomaduro/laravel-code-analyse | 0.86 | Laravel Code Analyse brings static code analysis to your Laravel apps. Run the artisan command to scan your codebase against configurable checks, catch common issues early, and keep your code clean, consistent, and production-ready. | 6,548 | 6,548 | 529 | 187 | 39 | 74.7 | 28.6 | MIT | 3 days ago | |
| phpdocumentor/shim | 0.86 | Install phpDocumentor via Composer with this shim package, which downloads the phpDocumentor phar into your project's vendor/bin directory so you can run it as usual. | 9 | 9 | 0 | 46K | 0 | 20.0 | 55.7 | MIT | 5 months ago | |
| roave/better-reflection | 0.86 | Better Reflection is a PHP reflection API for static analysis: reflect on classes without loading them, parse classes from strings, inspect closures, and extract AST and type information. It prioritizes features over speed, so it is not intended for runtime use. | 1,248 | 1,253 | 138 | 1M | 14 | 44.3 | 54.1 | MIT | 2 weeks 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 | |
| saeedpooyanfar/laravel-annotation | 0.86 | A Laravel package that brings PHP annotation support to your app, letting you define and read metadata via docblocks. It enables cleaner, declarative configuration for routes, validation, and other framework features without bulky config files. | 17 | 18 | 1 | 9 | 0 | 0.1 | 2.4 | MIT | 2 years ago |
How can I help you explore Laravel packages today?