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 | Quickly discover classes, interfaces, enums, and traits in your PHP application that match conditions like implementing an interface, with extra metadata per structure and built-in caching to keep things fast in production. | 179 | 180 | 18 | 5M | 1 | 22.0 | 61.1 | MIT | 4 months ago | |
| spatie/laravel-auto-discoverer | 0.86 | Quickly discover classes, interfaces, enums, and traits in your PHP app that meet certain conditions—such as classes implementing a given interface. Includes built-in caching to keep discovery fast in production. | 179 | 179 | 18 | 5 | 1 | 22.1 | 0.2 | MIT | 4 months ago | |
| lorisleiva/lody | 0.84 | Lody loads files and PHP classes from given paths as lazy collections in Laravel. It returns a custom LazyCollection for fetching existing classes (resolved via PSR-4) or SplFileInfo files, with filters like isNotAbstract and isInstanceOf. Path resolution is configurable. | 95 | 95 | 9 | 748K | 0 | 19.6 | 61.6 | MIT | 2 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 | 33K | 0 | 0.4 | 39.5 | — | — | |
| ergebnis/classy | 0.83 | This Composer package provides collectors for finding classy constructs, including classes, enums, interfaces, and traits, in PHP source code. It offers token-, file-, SplFileInfo-, and Finder-based collectors to gather these declarations for analysis or tooling. | 39 | 39 | 4 | 60K | 0 | 24.7 | 50.7 | MIT | 1 month ago | |
| composer/class-map-generator | 0.82 | Scan PHP directories and extract a class map mapping every class, interface, trait, and enum to its file path. Supports multiple scans, sorted output, and detection of ambiguous classes for robust autoloading and code analysis. | 208 | 209 | 25 | 12M | 0 | 27.8 | 65.0 | MIT | 3 days 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 | 66K | 2 | 2.3 | 38.4 | 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 | — | 864K | — | 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. | 15 | 14 | 4 | 110K | 0 | 0.2 | 53.0 | MIT | — | |
| beid212/model-search-kit | 0.66 | Laravel-пакет для выноса логики поиска: фильтрации и сортировки моделей в отдельные классы. Упрощает поддержку запросов и повторное использование фильтров. Установка через Composer, публикация конфигов через vendor:publish. | 0 | 0 | 0 | 0 | 0 | 5.0 | — | — | 9 months ago |
How can I help you explore Laravel packages today?