it-bens/reflection-constructor
Provides a reflection-based wrapper around PHP class constructors, letting you inspect parameters and instantiate objects by resolving constructor dependencies automatically. Useful for simple dependency injection, factories, and dynamic object creation without a full container.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| it-bens/object-transformer | 0.82 | A Laravel/PHP package for transforming objects from one type to another, mapping properties and values through configurable transformations so you can convert DTOs, models, and API payloads cleanly without repetitive boilerplate code. | 1 | — | 1 | — | 0 | 0.1 | — | MIT | 5 years ago |
|
| innmind/reflection | 0.80 | Provides a simple object-oriented wrapper around PHP's native reflection API, letting you inspect classes, interfaces, methods, properties and parameters with a cleaner, more predictable interface. Useful for building tooling, dependency injection containers and code analysis. | 1 | — | 3 | — | 0 | 15.9 | — | MIT | 2 months ago |
|
| zendframework/zend-server | 0.79 | — | 47 | 44 | 14 | 51K | 2 | 1.3 | 29.4 | BSD-3-Clause | 7 years ago | |
| phpdocumentor/reflection | 0.79 | 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. | 124 | 126 | 60 | 907K | 8 | 26.3 | 60.9 | MIT | 5 months ago | |
| andrew-gos/class-builder | 0.79 | 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 | 60 | 0 | 0.0 | 20.6 | MIT | — | |
| ergebnis/test-util | 0.79 | ergebnis/test-util is a lightweight collection of reusable test utilities for PHP projects, designed to reduce boilerplate and make common testing tasks clearer. Useful alongside PHPUnit for writing concise, maintainable tests with consistent helpers and assertions. | 15 | 15 | 2 | 2K | 0 | 0.1 | 20.9 | MIT | 4 years ago | |
| phpdocumentor/reflection-common | 0.78 | ReflectionCommon provides the shared interfaces and base classes behind phpDocumentor's reflection layer, defining common contracts for elements, types, and locations used across the ecosystem. A lightweight, dependency-free foundation for building reflection-based tooling in PHP. | 9,031 | 9,044 | 22 | 12M | 0 | 47.6 | 50.4 | MIT | 1 month ago | |
| it-bens/object-transformer-bundle | 0.78 | Symfony bundle integrating it-bens/object-transformer, letting you map and transform objects through configurable transformers. Define transformations as services and reuse them across your app to keep DTO mapping, conversions, and data shaping clean and decoupled. | 0 | 0 | 0 | 0 | 0 | 0.1 | — | MIT | 5 years ago | |
| fsi/reflection | 0.78 | Optimized Reflection for PHP 5.3 that caches ReflectionClass/Method/Property objects via factory() so they’re never created twice. Returned methods/properties are pre-set accessible for private/protected access; some uncached operations throw exceptions. | 7 | 8 | 3 | 823 | 1 | 0.2 | 27.8 | MIT | — | |
| brick/reflection | 0.78 | 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 | 7 months ago | |
| sajadsdi/php-reflection | 0.78 | 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 | |
| sebastian/object-reflector | 0.78 | sebastian/object-reflector lets you reflect an object's properties, including inherited, private, and protected ones. Install it via Composer to inspect and access object state that PHP's default reflection utilities don't easily expose. | 6,271 | 6,277 | 3 | 25M | 1 | 41.8 | 56.4 | BSD-3-Clause | 2 months ago | |
| doctrine/instantiator | 0.77 | Lightweight PHP library to instantiate objects without calling their constructors. Useful for hydrators, serializers, proxies, and testing/mocking. Part of the Doctrine ecosystem; creates instances via reflection while avoiding side effects and required constructor args. | 10,979 | 11,014 | 65 | 14M | 1 | 35.2 | 44.3 | MIT | 10 months ago | |
| iter8/builder-bundle | 0.77 | Iter8 Builder Bundle packages the Iter8 builder for PHP applications, adding bundle configuration and services that help you assemble custom components and workflows with less boilerplate. It suits projects already using Iter8 that need a consistent, reusable builder integration. | 2 | 2 | 0 | 5 | 0 | 0.3 | 5.9 | — | 3 years ago | |
| raphhh/trex-reflection | 0.77 | Lightweight PHP reflection helper focused on analyzing types, classes and members with a cleaner API than native Reflection. Great for tooling, static analysis, and code generation tasks—extract signatures, docblocks, visibility, and metadata with minimal boilerplate. | 14 | 14 | 3 | 6K | 0 | 2.6 | 35.7 | MIT | 6 years ago | |
| league/construct-finder | 0.77 | 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 | — | — | |
| delormejonathan/accessible | 0.77 | Accessible is a PHP library that uses docblock annotations to automate class behavior: generates getters/setters, validates setter arguments with Symfony Assert, initializes properties in constructors, and manages collections and associations with add/remove helpers. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| andrewsville/php-token-reflection | 0.77 | PHP library for reflecting and analyzing PHP token streams. Parse source code into tokens and inspect structures like classes, functions, namespaces, and docblocks—useful for static analysis, code generation, and tooling without executing the code. | 188 | 190 | 42 | 15K | 17 | 4.0 | 22.1 | NOASSERTION | — |
How can I help you explore Laravel packages today?