laminas-mvc
laminas-mvc copied to clipboard
Provide migration documentation for deprecated built-in middleware
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.
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
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! 👍