# zend-mvc-plugin-identity

[![Build Status](https://secure.travis-ci.org/zendframework/zend-mvc-plugin-identity.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mvc-plugin-identity)
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-mvc-plugin-identity/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-mvc-plugin-identity?branch=master)

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

## Installation

Run the following to install this library:

```bash
$ composer require zendframework/zend-mvc-plugin-identity
```

If you are using the [zend-component-installer](https://docs.zendframework.com/zend-component-installer),
you're done!

If not, you will need to add the component as a module to your
application. Add the entry `'Zend\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.zendframework.com/zend-mvc-plugin-identity/

## Support

* [Issues](https://github.com/zendframework/zend-mvc-plugin-identity/issues/)
* [Chat](https://zendframework-slack.herokuapp.com/)
* [Forum](https://discourse.zendframework.com/)
