Libraries tagged by reflection class
forxer/blade-components-reflection
58 Downloads
Runtime reflection utilities for class-based Blade components (settable attributes & constructor parameters).
entelisteam/lbaf-reflection
20 Downloads
Lightweight PHP reflection utilities: enum helper, type caster, short class name resolver, cached method parameter lookup.
nastuzzi-samy/reflection-namespace
1776 Downloads
Reflect a namespace, give its classes, its sub-namespaces and more
jerowork/class-dependencies-parser
280 Downloads
Parse all dependencies (FQN) used in an object (e.g. class, trait, interface)
erb/testing-tools
333 Downloads
Tools to make it easier to retrieve data from classes via Reflection.
clue/graph-uml
1518 Downloads
Generate UML class diagrams by reflection for your PHP projects
pixielity/laravel-discovery
872 Downloads
Powerful class discovery system for Laravel with attribute-based scanning, directory traversal, and monorepo support
kommuna/jirawebhook
319 Downloads
PHP classes for Atlassian Jira webhook data structure with events
koda/koda
33736 Downloads
Utility classes for analyse code and invoking callables with verification of arguments and type casting
markbaker/spymaster
26 Downloads
SpyMaster is a small library, for use in testing, that allows access to verify the values of protected and private properties in a class that is being tested, without needing to modify the class using Reflection.
genai/validation
115 Downloads
Attribute-based validation compiled to a reflection-free validator. Put #[NotBlank]/#[Email]/#[Length]/#[Pattern]/#[Matches] on a #[Validate] form class; a build-time processor bakes the rules into Cache\Validation. At runtime, validate a populated form object -> a field=>error map, no reflection. PHP 5.3-safe runtime.
birb/fancy-stubs-codegen
9 Downloads
Build-time, attribute-driven code generator: write a stub class, mark members with #[DefinerAttribute], and get a real, finished PHP class back — conventions filled in (event names, ids, ...), or whole getters/setters/builder classes generated from the stub's properties. Unlike runtime-reflection tools, the output is a plain PHP file with zero dependency on this library and no per-request reflection cost; useful for scaffolding DDD value objects/aggregates/events, command classes and other boilerplate. Postprocessing (e.g. phpcbf) and framework-specific conventions (e.g. Laravel table/id naming) ship as separate packages — see birb/fancy-stubs-codegen-postprocessors and birb/fancy-stubs-codegen-laravel.
rquadling/reflection
191 Downloads
A small set of enhancements to PHP's standard Reflection classes
mopsyd/reflection-class-constant-patch
13 Downloads
This is a backwards compatible patch of the PHP 7.1 ReflectionClassConstant for versions of PHP prior to 7.1
kubomikita/reflection
22 Downloads
Fork of Nette Reflection: docblock annotations parser and common reflection classes with php 8 compatibility