Libraries tagged by property injection
symfony/property-access
209842032 Downloads
Provides functions to read and write from/to an object or array using a simple string notation
mrclay/props-dic
7372819 Downloads
Props is a simple DI container that allows retrieving values via custom property and method names
sikessem/capsule
1526 Downloads
Capsule is designed to make it easier to manage dependencies and objects, while improving encapsulation and ensuring code quality.
rotexsoft/versatile-collections
5393 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.
majkl578/nette-injects-extension
59 Downloads
Nette Framework DI extension for injecting services into other services' properties.
comphp/di
35 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.
phpolar/property-injector
18 Downloads
Provides automatic dependency injection for properties.
mrgrain/eloquent-service-injection
919 Downloads
Simple trait to inject services into Eloquent models via a property.
brenoroosevelt/habemus
720 Downloads
PSR-11 Container for Dependency Injection (auto-wiring, attributes, factories, closures, array access)
cheevauva/pdic
30 Downloads
Property Dependency Injection Container
osmianski/super-objects
6 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, ...)
sikessem/core
0 Downloads
Objects with strict types to manage PHP variables and values.
quillstack/di
825 Downloads
The dependency injection container based on PSR-11: Container interface.