HTTPS clone URL
Subversion checkout URL
A lightweight PHP Library for Dependicy Injection
Fetching latest commit...
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Porto Injector is Lightweight Dependency Injector Container for PHP 5.2 and PHP 5.3 Project is inspired by Google Guice for Java (see http://code.google.com/p/google-guice/). In this early beta state it only posses most basic functionality. I've tried to make this code as light as possible, to work with you need to include only one file without exotic naming convention . Porto Injector have two types of Injection based on Context - Module Injection Best for controllers - Class Injection For any other functionality, but have limitation to Module Scope (Modules are configuring Dependices for Injection) Proper documentation will be provided in few weeks. Look in example.php read, modify, and if you can send some feedback about Porto