PHP Classes

PHP Auto Dependency Injection: Create objects classes and dependent classes

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-02-22 (1 year ago) RSS 2.0 feedStarStarStar 57%Total: 136 All time: 8,495 This week: 648Up
Version License PHP version Categories
auto-di 1.0BSD License5.5PHP 5, Language
Description Author

This class can create objects classes and dependent classes.

It can create a new instance of a given class or return a previously created instance of that class.

The class uses reflection to determine what are the dependent classes by looking at the type hinting classes passed as class function parameters.

The class can also automatically invoke a given function of a class passing instances of the respective classes specified in the type hinting.

Innovation Award
PHP Programming Innovation award nominee
March 2016
Number 16

Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
Nowadays, with type hinting it is possible to determine the types of values that a class expects on each call.

This class can automatically create objects of classes and any dependencies using Reflection to determine what the classes expect when calling its function.

Manuel Lemos
  Performance   Level  
Name: Aleksandar Zivanovic <contact>
Classes: 10 packages by
Country: Serbia Serbia
Age: 23
All time rank: 20509 in Serbia Serbia
Week rank: 95 Up2 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file AutoDi.php Class Class itself
Accessible without login Plain text file example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,495
This week:648Up
 User Ratings  
 All time