spatie/php-structure-discoverer
Automatically discover classes, interfaces, traits, and other PHP structures in a codebase. Scans files, resolves namespaces, and returns a structured overview you can use for tooling, analysis, or building package features without manual registration.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-auto-discoverer | 0.85 | Fast, cached discovery of PHP classes, interfaces, traits, and enums based on conditions. Scan directories to find structures implementing an interface, using attributes, extending classes, and more—ideal for auto-registration and production-ready performance. | 178 | 178 | 17 | 5 | 1 | 28.6 | 0.2 | MIT | 1 month ago | |
| nikic/php-parser | 0.85 | Parse PHP code into an Abstract Syntax Tree (AST) for static analysis, manipulation, and code generation. Supports PHP 5.x to 8.4, handles errors gracefully, and preserves formatting during AST-to-code conversion. Easily traverse, modify, and convert ASTs back to PHP, with JSON serialization support... | 17,424 | 17,486 | 1,121 | 15M | 46 | 84.7 | 76.0 | BSD-3-Clause | 4 months ago | |
| phpstan/phpdoc-parser | 0.85 | PHPDoc Parser for PHPStan that parses, represents, and modifies PHPDoc blocks as an AST. Supports rich type syntax (unions, generics, shapes, callables, conditional types), constant expressions, and Doctrine annotations, with full API reference for nodes. | 1,522 | 1,525 | 71 | 9M | 8 | 42.0 | 68.6 | MIT | 2 months ago | |
| phpowermove/docblock | 0.83 | Lightweight PHP docblock parser and helper utilities. Extract tags, types, descriptions, and annotations from PHPDoc comments with a simple API—useful for reflection, code generation, static analysis tooling, and custom frameworks needing reliable docblock metadata. | 25 | — | 6 | — | 0 | 20.3 | — | MIT | 4 years ago | |
| spatie/laravel-route-discovery | 0.83 | Automatically discover Laravel routes by scanning controllers and views instead of manually defining them. Configure discovery in your routes files and use PHP attributes to customize names, middleware, and more for each discovered route. | 236 | 236 | 29 | 2K | 0 | 31.1 | 16.4 | MIT | 1 month ago | |
| spatie/laravel-tinker-tools | 0.80 | Enables using short class names in Artisan Tinker sessions on older Laravel versions (built into Laravel 5.5+). Register ShortClassNames in .psysh.php and dump optimized autoload, then reference models like NewsItem::first() without full namespaces. | 138 | 142 | 11 | 4 | 0 | 21.9 | 0.2 | MIT | 8 years ago | |
| spatie/schema-org | 0.78 | Fluent PHP builder for Schema.org: generate any type and property from the full core vocabulary and output valid JSON-LD (ld+json) script tags. Generated from the official Schema.org JSON-LD, with documented classes and methods. | 1,476 | 1,490 | 146 | 278K | 0 | 40.8 | 37.0 | MIT | 2 months ago |
How can I help you explore Laravel packages today?