Libraries tagged by property injection
symfony/property-access
258222804 Downloads
Provides functions to read and write from/to an object or array using a simple string notation
mrclay/props-dic
9583518 Downloads
Props is a simple DI container that allows retrieving values via custom property and method names
rotexsoft/versatile-collections
5670 Downloads
A collection package that can be extended to implement things such as a Dependency Injection Container, RecordSet objects for housing database records, a bag of http cookies, or technically any collection of items that can be looped over and whose items can each be accessed using array-access syntax or object property syntax.
phpolar/property-injector
306 Downloads
Provides automatic dependency injection for properties.
majkl578/nette-injects-extension
62 Downloads
Nette Framework DI extension for injecting services into other services' properties.
comphp/di
60 Downloads
CommonPHP DependencyInjection is a simple, robust dependency injection container for PHP applications. It facilitates the dynamic creation of objects, invocation of methods, function calling, and property population.
mrgrain/eloquent-service-injection
921 Downloads
Simple trait to inject services into Eloquent models via a property.
mackrais-organization/property-transform
1 Downloads
A PHP library for transforming DTO properties using attributes with support for PHP functions, DI services, and nested object transformation.
brenoroosevelt/habemus
735 Downloads
PSR-11 Container for Dependency Injection (auto-wiring, attributes, factories, closures, array access)
cheevauva/pdic
35 Downloads
Property Dependency Injection Container
osmianski/super-objects
12 Downloads
A library providing a base class for creating super objects in PHP, the ones with lazy properties, elegant dependency injection, and more.
webignition/symfony-test-service-injector-trait
4393 Downloads
Inject Symfony services into test class properties
tesis/db-layer
12 Downloads
Simple DB layer for mysqli extension and PDO class. It is based on mappers, files holding database table fields, primary key and auto_increment properties, which is helpful to compare fields for CRUD or select operations, and to provide better way to prevent SQL injections (only existing fields are selected, or inserted, ...)
sikessem/core
0 Downloads
Objects with strict types to manage PHP variables and values.
quillstack/di
899 Downloads
The dependency injection container based on PSR-11: Container interface.