PHPackages                             thecodinghood/zendphpdiconfig - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. thecodinghood/zendphpdiconfig

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

thecodinghood/zendphpdiconfig
=============================

Temp. Fork from elie29/zend-di-config

v1.0.0(3y ago)011.5k↓36.1%MITPHPPHP &gt;=7.4

Since Jul 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/TheCodingHood/zenddiconfig)[ Packagist](https://packagist.org/packages/thecodinghood/zendphpdiconfig)[ RSS](/packages/thecodinghood-zendphpdiconfig/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (3)Used By (0)

zend-phpdi-config
=================

[](#zend-phpdi-config)

[![Build Status](https://camo.githubusercontent.com/6daa7b6113ac0587b6873c6855db40ebc83428e6c1248666b9379c063e85ca1f/68747470733a2f2f6170702e7472617669732d63692e636f6d2f656c696532392f7a656e642d64692d636f6e6669672e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/elie29/zend-di-config)[![Coverage Status](https://camo.githubusercontent.com/5915b3f154b1158bf3213eac0ff94f0e86bc80b60de0e4d93a8e3a9b6aee4f13/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f656c696532392f7a656e642d64692d636f6e6669672f62616467652e737667)](https://coveralls.io/github/elie29/zend-di-config)

Introduction
------------

[](#introduction)

[zend-phpdi-config](https://packagist.org/packages/elie29/zend-phpdi-config) acts as a bridge to configure a PSR-11 compatible [PHP-DI](http://php-di.org) container using service manager configuration. It can be used with [Laminas](https://getlaminas.org/) and [Mezzio](https://docs.mezzio.dev/) starting from v6.0.0

This library uses autowiring technique, cache compilation and cache definitions as defined in [PHP-DI](http://php-di.org).

Configuration
-------------

[](#configuration)

[Service Manager Configuration](https://docs.laminas.dev/laminas-servicemanager/configuring-the-service-manager/)

To get a configured [PSR-11](http://www.php-fig.org/psr/psr-11/)PHP-DI container, do the following:

```
