ergebnis/classy
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ergebnis/phpstan-rules | 0.88 | A set of extra PHPStan rules to enforce stricter, opinionated code standards in PHP projects. Install via Composer and include rules.neon (auto via phpstan/extension-installer) to catch issues like named arguments, class design, and more. | 457 | 457 | 24 | 345K | 6 | 25.0 | 47.8 | MIT | 5 months ago | |
| localheinz/phpstan-rules | 0.88 | Custom PHPStan rules to enforce stricter coding standards in PHP projects. Includes ready-to-use rules.neon (auto-loaded via phpstan/extension-installer) with checks like no named arguments, class final enforcement, and more. Install via Composer as a dev dependency. | 457 | 456 | 24 | 395 | 6 | 25.0 | 8.6 | MIT | 5 months ago | |
| ergebnis/http-method | 0.87 | Tiny PHP package providing named constants for HTTP request methods (GET, POST, PUT, DELETE, etc.). Use it to avoid magic strings and share a single source of truth across frameworks, libraries, and your own code. | 95 | 95 | 2 | 8K | 0 | 6.8 | 27.1 | MIT | 10 months ago | |
| ergebnis/json-normalizer | 0.87 | Normalize JSON documents with composable normalizers. Includes generic and vendor-specific normalizers for formatting, indentation, schema-based ordering, JSON encoding, chaining, callbacks, and controlling final newlines. Install via Composer and apply a Normalizer to produce consistent JSON output... | 82 | 83 | 5 | 1M | 0 | 12.8 | 57.4 | MIT | 10 months ago | |
| roave/better-reflection | 0.85 | 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,245 | 1,249 | 137 | 584K | 14 | 40.0 | 47.8 | MIT | 2 months ago | |
| symfony/property-info | 0.85 | Symfony PropertyInfo extracts metadata about PHP class properties (types, visibility, accessors) from multiple sources like reflection, PHPDoc, and serializers. Useful for building API docs, forms, validation, and other tooling that needs reliable property details. | 2,222 | 2,233 | 13 | 7M | 0 | 40.5 | 55.3 | MIT | 1 month ago | |
| goaop/parser-reflection | 0.84 | 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 | 51 | 29K | 3 | 20.9 | 38.6 | MIT | 3 months ago | |
| sajadsdi/php-reflection | 0.84 | Lightweight wrapper around PHP’s built-in Reflection API. Inspect classes by name or instance and quickly fetch ReflectionClass plus lists of properties, methods, and constants. Simple Reflections helper for common reflection tasks. | 1 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 2 years ago | |
| hanneskod/classtools | 0.84 | 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 | — | |
| brick/reflection | 0.84 | 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 | 7K | 1 | 18.7 | 37.8 | MIT | 4 months ago | |
| kcs/class-finder | 0.84 | 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 | |
| andrew-gos/class-builder | 0.83 | PHP library to construct objects from arrays or scalars using constructor reflection. Supports interfaces/abstracts via AvailableInheritors, conditional building with BuildIf checkers, typed arrays, variadics, and union/intersection parameter types. | 1 | 2 | 0 | 127 | 0 | 0.0 | 25.0 | MIT | — | |
| ergebnis/license | 0.83 | — | 14 | 15 | 1 | 31K | 0 | 6.9 | 46.9 | MIT | 10 months ago | |
| spatie/laravel-auto-discoverer | 0.83 | 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 | 13 | 1 | 28.3 | 0.5 | MIT | 1 month ago | |
| phpdocumentor/reflection | 0.83 | Static PHP code reflection library that parses one or more files (no execution) to build an object graph of your application's structure, including DocBlocks. Supports analyzing PHP versions from 5.2 up to your installed PHP version; useful for reflecting whole projects. | 125 | 126 | 60 | 958K | 8 | 31.6 | 63.8 | MIT | 1 month ago | |
| app-dev-panel/kernel | 0.83 | — | 1 | 1 | 0 | 7 | 0 | 0.0 | 9.0 | — | — | |
| 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 | 37K | 0 | 0.4 | 40.3 | — | — | |
| ergebnis/rector-rules | 0.82 | A curated set of custom Rector rules from ergebnis to automate PHP refactoring and style consistency. Includes rules for sorting arrays and match arms, simplifying call arguments, Faker updates, namespace symbol references, and PHPUnit attribute-to-prefix changes. | 10 | 10 | 0 | 17K | 0 | 31.2 | 51.4 | MIT | 2 weeks ago | |
| lorisleiva/lody | 0.81 | 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 | 419K | 0 | 16.7 | 56.9 | MIT | 4 months ago | |
| ergebnis/php-cs-fixer-config | 0.79 | Factory-style PHP-CS-Fixer config for projects: choose a versioned ruleset (PHP 5.3–8.3), generate a consistent configuration, and keep coding standards aligned across repositories. Install via Composer and use with friendsofphp/php-cs-fixer. | 70 | 70 | 17 | 45K | 1 | 32.6 | 45.5 | MIT | 6 days ago |
How can I help you explore Laravel packages today?