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. | 453 | 454 | 24 | 253K | 6 | 27.3 | 45.9 | MIT | 4 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. | 453 | 451 | 24 | 783 | 6 | 27.6 | 10.2 | MIT | 4 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 | 15.5 | 58.8 | MIT | 8 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,241 | 1,245 | 137 | 326K | 14 | 42.8 | 45.4 | MIT | 1 month 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,230 | 2,233 | 13 | 7M | 0 | 43.2 | 56.4 | MIT | 1 week 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 | 32K | 3 | 23.2 | 39.9 | MIT | 2 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 | 134 | 31 | 52K | 2 | 2.3 | 37.2 | WTFPL | — | |
| phpdocumentor/reflection | 0.84 | Static PHP code reflection library that parses files without executing them. Builds an object graph of your project’s structure, including DocBlocks. Can analyze code from PHP 5.2 up to your installed version; suitable for reflecting whole files or projects. | 125 | 126 | 61 | 2M | 8 | 34.6 | 67.2 | MIT | 1 week ago | |
| 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 | 23 | 3 | 6K | 1 | 21.2 | 37.2 | MIT | 2 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 | 82K | 2 | 4.3 | 47.0 | 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 | 85 | 0 | 0.0 | 22.6 | MIT | — | |
| ergebnis/license | 0.83 | — | 14 | 15 | 1 | 38K | 0 | 8.8 | 49.0 | MIT | 9 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 | 23 | 0 | 27.6 | 0.8 | MIT | 1 month ago | |
| app-dev-panel/kernel | 0.83 | — | 1 | 1 | 0 | 9 | 0 | 0.0 | 10.2 | — | — | |
| 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 | 40K | 0 | 0.4 | 40.8 | — | — | |
| 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 | 22K | 0 | 28.8 | 52.5 | MIT | 1 month 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 | 400K | 0 | 19.1 | 57.1 | MIT | 2 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 | 46K | 1 | 31.1 | 44.9 | MIT | 3 weeks ago | |
| dmp/cg-lib | 0.78 | CG library is a PHP 8.1+ toolset for generating PHP code. It helps assemble and enhance classes by adding reusable behaviors, making it easier to build and modify code structures programmatically during code generation workflows. | 0 | 0 | 0 | 15 | 0 | 0.3 | 16.6 | Apache-2.0 | 1 year ago |
How can I help you explore Laravel packages today?