zend-di integration for zend-servicemanager


Using Composer

$ composer require zendframework/zend-servicemanager-di

If you are using the zend-component-installer, you're done!

If not, you will need to add the component as a module to your application. Add the entry 'Zend\ServiceManager\Di' to your list of modules in your application configuration (typically one of config/application.config.php or config/modules.config.php).


The code in this package augments zend-servicemanager, providing integration with zend-di. Read the Services chapter for details.


Found a mistake or want to contribute to the documentation? Edit this page on GitHub!