# laminas-mvc-plugin-identity

[![Build Status](https://github.com/laminas/laminas-mvc-plugin-identity/workflows/Continuous%20Integration/badge.svg)](https://github.com/laminas/laminas-mvc-plugin-identity/actions?query=workflow%3A"Continuous+Integration")

Provides a
[laminas-mvc](https://docs.laminas.dev/laminas-mvc/) plugin (for versions 3.0
and up) that allows retrieving the current identity as provided by
[laminas-authentication](https://github.com/laminas/laminas-authentication).

## Installation

Run the following to install this library:

```bash
$ composer require laminas/laminas-mvc-plugin-identity
```

If you are using the [laminas-component-installer](https://docs.laminas.dev/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/

## Support

* [Issues](https://github.com/laminas/laminas-mvc-plugin-identity/issues/)
* [Chat](https://laminas.dev/chat/)
* [Forum](https://discourse.laminas.dev/)
