laminas-mvc icon indicating copy to clipboard operation
laminas-mvc copied to clipboard

Provide migration documentation for deprecated built-in middleware

Open Xerkus opened this issue 2 years ago • 2 comments

Documentation needs a migration guide on moving from built-in middleware support to laminas-mvc-middleware.

laminas-mvc-middleware provides a page for migrating from v1 Version 1.x was a direct extraction of functionality built-in into laminas-mvc 3.x which makes the guide applicable for migration from laminas-mvc as well. However, it is not readily available or discoverable in laminas-mvc documentation.

Xerkus avatar Jun 03 '22 14:06 Xerkus

Unfortunately, mvc-middleware documents are not true, When I try to work whit them I have to search too much and try many methods

I suggest updating documents too.

I can do this, but need to make sure my method is true, here is part of our codes:

  • https://github.com/pi-engine/user/blob/main/config/module.config.php
  • https://github.com/pi-engine/user/blob/main/src/Factory/Middleware/AuthenticationMiddlewareFactory.php
  • https://github.com/pi-engine/user/blob/main/src/Middleware/AuthenticationMiddleware.php

Best

voltan avatar Jun 08 '22 08:06 voltan

Unfortunately, mvc-middleware documents are not true, When I try to work whit them I have to search too much and try many methods

Please add this to the related issue tracker otherwise everyone will lost the overview. This issue report is only refers to the migration of deprecated built-in middleware. Thanks in advance! 👍

froschdesign avatar Jun 08 '22 09:06 froschdesign