laminas-mvc-plugin-identity
Provides a laminas-mvc plugin (for versions 3.0 and up) that allows retrieving the current identity as provided by laminas-authentication.
Installation
Run the following to install this library:
$ composer require laminas/laminas-mvc-plugin-identity
If you are using the laminas-component-installer, you're done!
If not, you will need to add the component as a module to your
application. Add the entry 'Laminas\Mvc\Plugin\Identity'
to
your list of modules in your application configuration (typically
one of config/application.config.php
or config/modules.config.php
).
Documentation
Browse the documentation online at https://docs.laminas.dev/laminas-mvc-plugin-identity/