PHP Classes

PHP Dependency Injector: Container to inject dependencies between classes

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 282 All time: 7,597 This week: 206Up
Version License PHP version Categories
dependency-inject 1.0GNU General Publi...5.4PHP 5, Language, Design Patterns
Description 

Author

This package is a container to inject dependencies between classes.

It can register factory classes that will be responsible to instantiate class objects dynamically calling the registered factories.

The class uses reflection to create the requested instance passing its constructor arguments.

Picture of Thiago Luiz Alves
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

 

Screenshots (1)  
  • di_example
  Files folder image Files (10)  
File Role Description
Files folder imageApp (4 directories)
Accessible without login Plain text file autoload.php Aux. Class loader
Accessible without login Plain text file teste.php Example Teste Script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:282
This week:0
All time:7,597
This week:206Up