From 551e433cc8d4327a199f93e636cde446b97f7d09 Mon Sep 17 00:00:00 2001 From: Elie NEHME Date: Wed, 15 Jan 2020 10:30:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20migrate=20to=20laminas=20framewo?= =?UTF-8?q?rk=20#43.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 352ff60..d273a78 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,14 @@ [![Coverage Status](https://coveralls.io/repos/github/elie29/zend-di-config/badge.svg)](https://coveralls.io/github/elie29/zend-di-config) ## 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 zend-servicemanager configuration. -It can be used with [Zend Framework](https://framework.zend.com) and [Zend Expressive](https://docs.zendframework.com/zend-expressive). +[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 autowirng technique, cache compilation and cache definitions as defined in [PHP-DI](http://php-di.org). ## Configuration -[Service Manager Configuration](https://docs.zendframework.com/zend-servicemanager/configuring-the-service-manager/) +[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: @@ -66,7 +66,7 @@ The `dependencies` sub associative array can contain the following keys: another alias). - `delegators`: an associative array that maps service names to lists of delegator factory keys, see the - [Expressive delegators documentation](https://docs.zendframework.com/zend-servicemanager/delegators/) + [Expressive delegators documentation](https://docs.laminas.dev/laminas-servicemanager/delegators/) for more details. >**N.B.:** The whole configuration -- unless `dependencies` -- is merged in a `config` key within the `$container`: @@ -83,7 +83,7 @@ to the autowires key. Example of adding ConsoleHelper to a config.php: >```console ->./vendor/bin/add-autowires-entry config.php "Zend\\Stdlib\\ConsoleHelper" +>./vendor/bin/add-autowires-entry config.php "Lamnias\\Stdlib\\ConsoleHelper" >[DONE] Changes written to config.php >```