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.90 | 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 | 21 | 1 | 25.9 | 0.8 | MIT | 3 months ago | |
| graham-campbell/analyzer | 0.89 | 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 | 12K | 0 | 21.0 | 39.2 | MIT | 6 months ago | |
| 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 | 0 | 0 | 0.0 | — | — | — | |
| 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 | 539K | 0 | 14.0 | 56.8 | MIT | 6 months ago | |
| league/construct-finder | 0.83 | 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.82 | 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 | 13.7 | 46.9 | MIT | 8 months ago | |
| kcs/class-finder | 0.75 | 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 | |
| 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 | 24 | 3 | 6K | 1 | 17.8 | 37.1 | MIT | 6 months ago | |
| haydenpierce/class-finder | 0.72 | 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 | — | 566K | — | 0.0 | 55.3 | — | — | |
| bentools/iterable-functions | 0.72 | 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 | 11K | 0 | 4.8 | 37.0 | MIT | 2 years ago | |
| murtukov/php-code-generator | 0.72 | PHPCodeGenerator generates PHP 7.4 source code via a fluent API. Build files with namespaces and imports, create classes/interfaces/traits/enums, methods/functions/closures, control structures, arrays, literals, comments, and configure global formatting options. | 27 | 27 | 4 | 159K | 5 | 4.2 | 54.6 | MIT | 5 years ago | |
| 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 | 4 | 0 | 1.9 | 0.2 | MIT | 9 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. | 38 | 38 | 7 | 30K | 1 | 9.5 | 39.9 | MIT | 2 years ago | |
| danog/class-finder | 0.71 | 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 | 2K | 0 | 0.2 | 30.6 | MIT | — | |
| goaop/dissect | 0.71 | — | 2 | 3 | 1 | 9K | 0 | 12.5 | 53.0 | MIT | 5 months ago | |
| goaop/parser-reflection | 0.70 | AST-based Reflection API for PHP: introspect classes, methods, and properties directly from source code without autoloading or executing anything. Built on nikic/php-parser and compatible with native Reflection classes—ideal for static analyzers, code generators, and IDE tooling. | 101 | 101 | 50 | 25K | 1 | 18.5 | 36.6 | MIT | 5 months ago | |
| 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,061 | 2,076 | 32 | 1M | 0 | 6.2 | 27.5 | NOASSERTION | 4 years ago | |
| clue/stream-filter | 0.70 | Lightweight PHP library that simplifies stream filtering with a few helper functions (append, prepend, fun, remove). Easily apply built-in or custom stream filters for on-the-fly transformations like gzip, encoding conversion, and compression, with solid tests and SOLID design. | 1,712 | 1,715 | 16 | 5M | 1 | 11.8 | 47.9 | MIT | 2 years ago | |
| phpunit/php-file-iterator | 0.70 | phpunit/php-file-iterator provides a simple file iterator for PHP projects, helping tools like PHPUnit discover and filter files in directories. Installable via Composer for runtime or dev use, it supports efficient traversal and selection of files for testing workflows. | 7,477 | 7,486 | 47 | 16M | 1 | 48.2 | 55.1 | BSD-3-Clause | 1 month ago | |
| open-southeners/extended-php | 0.69 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 837 | 0 | 11.0 | 41.7 | MIT | 10 months ago |
How can I help you explore Laravel packages today?