Libraries tagged by property injection
symfony/property-access
248170732 Downloads
Provides functions to read and write from/to an object or array using a simple string notation
mrclay/props-dic
9040399 Downloads
Props is a simple DI container that allows retrieving values via custom property and method names
phpolar/property-injector
226 Downloads
Provides automatic dependency injection for properties.
quillstack/di
852 Downloads
The dependency injection container based on PSR-11: Container interface.
rotexsoft/versatile-collections
5622 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.
sikessem/capsule
1837 Downloads
Capsule is designed to make it easier to manage dependencies and objects, while improving encapsulation and ensuring code quality.
majkl578/nette-injects-extension
61 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
920 Downloads
Simple trait to inject services into Eloquent models via a property.
mackrais-organization/property-transform
0 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
11 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
4392 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, ...)