Libraries tagged by construction
ssmiff/mezzio-container-helpers
42 Downloads
Attribute-driven constructor injection for Mezzio and Laminas service manager factories, with per-parameter overrides.
solophp/input
363 Downloads
Typed, validated input DTOs for PHP 8.3+: immutable classes built through their constructor from HTTP input, with attribute-driven validation, casting and processing
jameshalsall/object-hydrator
3534 Downloads
A simple object hydrator using reflection for constructor or setter based injection.
interophp/injector
2525 Downloads
Inject dependencies into constructors and methods
gadwinn/psr-container
98 Downloads
PSR-11 container with shared services, factories and constructor autowiring.
forxer/blade-components-reflection
175 Downloads
Runtime reflection utilities for class-based Blade components (settable attributes & constructor parameters).
atom-fm/di
40 Downloads
Constructor injection and scoped service providers for PHP
antares/accessible
3954 Downloads
PHP library that allows you to define your class' getters, setters and constructor with docblock annotations.
symplify/easy-hydrator
81629 Downloads
Hydrate arrays to objects easily with PHP 7.4 and constructor injection
icanhazstring/phpstan-readonly-property
15761 Downloads
Support #[IsReadonly] promoted constructor properties for PHPStan
zamasskin/html-constructor
27 Downloads
Html engine components
nxtlvlsoftware/static-constructors
50 Downloads
Brings static class constructors to PHP!
creativestyle/magesuite-content-constructor
40499 Downloads
Content Constructor
wieni/plugin_constructor_factory
2754 Downloads
A Drupal module providing a plugin factory allowing you to inject dependencies using the constructor
norse-blue/creatable-objects
337 Downloads
PHP Creatable Objects is a PHP library that auto-wires an object's create method to its constructor regardless of visibility.