PHP-DI / ZF2-Bridge

PHP-DI integration with Zend Framework 2
MIT License
11 stars 14 forks source link

ZF2 Integration #1

Closed jflitton closed 11 years ago

jflitton commented 11 years ago

Here's what I'm using to integrate PHP-DI into ZF2 for now. I spent some quality time picking through the ZF2 event and listener system but ultimately couldn't find a graceful way to override Zend's DispatchListener. As a result, I've resorted to injecting when the controller's dispatch method is called, which is not ideal but is working well enough for me.

mnapoli commented 11 years ago

Thanks

mnapoli commented 11 years ago

FYI I've configured everything with packagist and I've tagged 0.1.0 so it's installable through Composer.