spatie/laravel-auto-discoverer
Fast, cached discovery of PHP structures in your codebase. Find classes, interfaces, traits, and enums by conditions like “implements interface” or “uses trait,” and get rich metadata. Ideal for automation, registration, and scanning in production.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/php-structure-discoverer | 0.92 | Discover PHP classes, interfaces, traits, and enums that match conditions (e.g., implement an interface) across your project. Fast scanning with built-in caching and rich metadata—ideal for auto-registration, tooling, and framework integrations. | 178 | 179 | 18 | 2M | 1 | 28.3 | 64.1 | MIT | 1 month ago | |
| hanneskod/classtools | 0.90 | Scan the filesystem for PHP classes, interfaces, and traits using Symfony Finder. Build a class-to-file map, detect parse/syntax errors, and iterate results as ReflectionClass objects, with optional autoloading for discovered classes. | 130 | 133 | 31 | 55K | 2 | 2.3 | 37.3 | WTFPL | — | |
| league/construct-finder | 0.88 | 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 | 37K | 0 | 0.4 | 40.3 | — | — | |
| kcs/class-finder | 0.88 | Discover and filter PHP classes and namespaces in your project using Composer’s autoloader with PSR resolution. Iterate found classes and reflections, then narrow results by interfaces, subclasses, annotations, PHP 8 attributes, directories, namespaces, or custom callbacks. | 31 | 31 | 6 | 91K | 2 | 4.3 | 47.6 | MIT | 1 year ago | |
| teofanis/hook-press | 0.86 | — | 7 | 7 | 0 | 150 | 0 | 4.5 | 18.3 | MIT | 10 months ago | |
| graham-campbell/analyzer | 0.85 | Analyzer is a PHP tool by Graham Campbell that scans your code/tests to verify referenced classes actually exist, catching typos and broken imports early. Requires PHP 8.1–8.5 and supports PHPUnit 10–13 (v5.1). | 31 | 32 | 5 | 6K | 0 | 23.0 | 35.1 | MIT | 4 months ago |
How can I help you explore Laravel packages today?