Laminas-mezzio-authorization provides middleware for Mezzio and PSR-7 applications for authorizing specific routes based on ACL or RBAC systems.
You can install the mezzio-authorization library with Composer:
$ composer require mezzio/mezzio-authorization
Documentation is in the doc tree, and can be compiled using mkdocs:
$ mkdocs build
You may also browse the documentation online.