kcs/class-finder
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/php-structure-discoverer | 0.86 | 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 | |
| spatie/laravel-auto-discoverer | 0.86 | 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. | 178 | 178 | 18 | 11 | 1 | 27.8 | 0.4 | MIT | 1 month ago | |
| lorisleiva/lody | 0.84 | Lody loads files or PHP classes from one or more paths as a Laravel LazyCollection. Discover classes via PSR-4 resolution, then filter (e.g., non-abstract, instance of) and iterate to register or process them. Configurable path and classname resolving. | 95 | 95 | 8 | 488K | 0 | 15.3 | 56.8 | MIT | 4 months ago | |
| league/construct-finder | 0.84 | 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 | — | — | |
| ergebnis/classy | 0.83 | ergebnis/classy adds convenient helpers for working with PHP classes and reflection. Generate class names, namespaces, and short names, and inspect class metadata in a clean, test-friendly way—useful for tooling, libraries, and code generation. | 39 | 39 | 4 | 60K | 0 | 14.7 | 46.9 | MIT | 7 months ago | |
| composer/class-map-generator | 0.82 | Generate PHP class maps by scanning directories for classes, interfaces, traits, and enums. Create a quick symbol-to-file map or use the generator for multi-path scans, sorting, and reporting ambiguous class definitions. MIT licensed; PHP 7.2+. | 205 | 206 | 22 | 6M | 0 | 22.9 | 63.5 | MIT | 3 months ago | |
| hanneskod/classtools | 0.82 | 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 | 51K | 2 | 2.3 | 36.9 | WTFPL | — | |
| haydenpierce/class-finder | 0.79 | Lightweight PHP utility to locate and list classes by scanning directories and Composer autoload data. Helpful for plugin discovery, reflection-based tooling, and dynamic registration tasks in frameworks like Laravel or Symfony. | 0 | 32 | — | 525K | — | 0.0 | 55.3 | — | — | |
| danog/class-finder | 0.78 | Fast PHP class discovery utility. Scan directories/files and find classes, interfaces, and traits without manually maintaining lists. Useful for autoload-based plugins, reflection tooling, and package indexing, with a simple API and minimal setup. | 13 | 12 | 4 | 8K | 0 | 0.2 | 38.4 | MIT | — | |
| beid212/model-search-kit | 0.66 | Laravel-пакет для выноса логики поиска: фильтрации и сортировки моделей в отдельные классы. Упрощает поддержку запросов и повторное использование фильтров. Установка через Composer, публикация конфигов через vendor:publish. | 0 | 0 | 0 | 0 | 0 | 13.1 | — | — | 6 months ago |
How can I help you explore Laravel packages today?