Integrates PHP-DI to Zend Framework 1
This library provides integration for PHP-DI with Zend Framework 1. PHP-DI is a Dependency Injection Container for PHP.
If you are looking for Zend Framework 2 integration, head over here.
The full documentation is available on PHP-DI's website.
The quickstart is in the
quickstart/ folder. You can look at it to see how PHP-DI can be integrated to a ZF1 application.
To run the quickstart, get composer and install the dependencies:
$ curl -s http://getcomposer.org/installer | php $ php composer.phar install
Note: I tried not to diverge too much from the official quickstart. So the code may look messy, but that's how the ZF quickstart is ;)