This library provides the ability to dispatch middleware pipelines in place of controllers within laminas-mvc.
Run the following to install this library:
$ composer require laminas/laminas-mvc-middleware
Browse the documentation online at https://docs.laminas.dev/laminas-mvc-middleware/