hanneskod/classtools
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-auto-discoverer | 0.87 | 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 | 23 | 0 | 27.6 | 0.8 | MIT | 1 month ago | |
| teofanis/hook-press | 0.85 | — | 0 | 7 | — | 117 | — | 7.4 | 17.8 | — | — | |
| ctrl-f5/ctrl-common | 0.85 | Shared utilities and helpers for the Ctrl-F5 ecosystem: common PHP/Laravel components, small abstractions, and reusable support code used across multiple packages and apps. Intended as a lightweight foundation dependency. | 0 | 0 | 0 | 3 | 0 | 0.0 | 8.3 | — | — | |
| graham-campbell/analyzer | 0.84 | Analyzer by Graham Campbell statically checks your PHP code to ensure referenced classes actually exist, helping catch typos and missing dependencies early. Supports PHP 8.1–8.5 and integrates with PHPUnit 10–13. | 29 | 30 | 5 | 6K | 0 | 25.7 | 36.2 | MIT | 2 months ago | |
| app-dev-panel/kernel | 0.84 | — | 1 | 1 | 0 | 8 | 0 | 0.0 | 9.7 | — | — | |
| roave/better-reflection | 0.84 | Enhanced PHP reflection for static analysis: reflect classes without loading them, from PHP code strings or closures, extract AST from functions/methods, and read type declarations and docblocks. Feature-rich but slower than native reflection. | 1,241 | 1,245 | 137 | 326K | 14 | 42.8 | 45.4 | MIT | 1 month ago | |
| php-standard-library/foundation | 0.84 | A lightweight PHP foundation library offering common building blocks and utilities to bootstrap projects. Provides reusable helpers and core abstractions to reduce boilerplate and standardize patterns across apps and packages. | 1 | 1 | 0 | 33K | 0 | 21.2 | 64.8 | MIT | 2 weeks ago | |
| wyrihaximus/test-utilities | 0.84 | A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions). | 7 | 7 | 1 | 51K | 6 | 29.9 | 65.4 | MIT | 1 month ago | |
| theseer/directoryscanner | 0.84 | — | 37 | 43 | 10 | 10K | 2 | 1.6 | 34.0 | NOASSERTION | 4 years 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 | 41K | 0 | 0.4 | 40.9 | — | — | |
| 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 | 57K | 0 | 17.8 | 47.9 | MIT | 5 months ago | |
| lorisleiva/lody | 0.79 | 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 | 400K | 0 | 19.1 | 57.1 | MIT | 2 months ago | |
| kcs/class-finder | 0.79 | 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 | 82K | 2 | 4.3 | 47.0 | MIT | 1 year ago | |
| bentools/iterable-functions | 0.73 | Small PHP utility package offering array-like helpers for any iterable (arrays, Traversable, generators): iterable_to_array/to_traversable, map, merge, reduce, filter, values, and chunk—write iterable-agnostic code without TypeError surprises. | 23 | 23 | 4 | 10K | 0 | 4.8 | 36.3 | MIT | 2 years ago | |
| brick/reflection | 0.73 | Low-level PHP 8.1+ helpers extending native reflection. ReflectionTools can list all instance methods/properties across inheritance (including private parents), get class hierarchies, and create reflections for any callable with meaningful function names. | 23 | 23 | 3 | 6K | 1 | 21.2 | 37.2 | MIT | 3 months ago | |
| danog/class-finder | 0.73 | 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. | 12 | 12 | 4 | 5K | 0 | 0.2 | 35.4 | MIT | — | |
| spatie/laravel-tinker-tools | 0.72 | 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 | 3 | 0 | 1.9 | 0.1 | MIT | 8 years ago | |
| loophp/iterators | 0.71 | loophp/iterators adds “missing” PHP iterators and iterator aggregates for lazy, composable pipelines: caching rewindable generators, chunk/map/filter/reduce/sort/unique/concat/pack/unpack, plus typed, random, recursive, and resource-based iterables. | 37 | 38 | 6 | 28K | 1 | 9.6 | 39.6 | MIT | 1 year ago | |
| haydenpierce/class-finder | 0.70 | 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 | — | 498K | — | 0.0 | 55.3 | — | — | |
| behat/transliterator | 0.70 | Abandoned PHP transliteration utility (ported from Perl Text-Unidecode). Provides static methods via Behat\Transliterator\Transliterator. Dataset hasn’t been updated since 2016; consider symfony/string, ext-intl Transliterator, or iconv //TRANSLIT. | 2,067 | 2,076 | 33 | 1M | 0 | 6.3 | 27.8 | NOASSERTION | 4 years ago |
How can I help you explore Laravel packages today?