PHPackages                             t4web/authentication - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. t4web/authentication

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

t4web/authentication
====================

A generic user authentication module for ZF2.

1.0.13(9y ago)1414BSD-3-ClausePHPPHP ^5.5 || ^7.0

Since Dec 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/t4web/Authentication)[ Packagist](https://packagist.org/packages/t4web/authentication)[ Docs](https://github.com/t4web/Authentication)[ RSS](/packages/t4web-authentication/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (13)Versions (17)Used By (0)

Authentication
==============

[](#authentication)

Master: [![Build Status](https://camo.githubusercontent.com/c727dcc81f7ced02eff8480f08e9ca69a9e4398224a4a847bab6aeb07743b3c9/68747470733a2f2f7472617669732d63692e6f72672f74347765622f41757468656e7469636174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/t4web/Authentication)[![codecov.io](https://camo.githubusercontent.com/d2460a7ed4a378764aca3f2c9b387c03e8249b94c1b9bd6ecc1f29e51da99ab1/687474703a2f2f636f6465636f762e696f2f6769746875622f74347765622f41757468656e7469636174696f6e2f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/t4web/Authentication?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/77030ed4b967351b719216baf18621aa952b321ef3a9836383aadb93c4a87cd2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74347765622f41757468656e7469636174696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/t4web/Authentication/?branch=master)

Authentication module for zf2

Contents
--------

[](#contents)

- [Introduction](#introduction)
- [Installation](#installation)
- [Configuring](#configuring)
- [Adapters](#adapters)
- [Testing](#testing)

Introduction
------------

[](#introduction)

Very simple authentication from the Box - define accounts config with login and password and use.

Installation
------------

[](#installation)

### Main Setup

[](#main-setup)

#### By cloning project

[](#by-cloning-project)

Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

Add this project in your composer.json:

```
"require": {
    "t4web/authentication": "~1.0.0"
}
```

Now tell composer to download Authentication by running the command:

```
$ php composer.phar update
```

#### Post installation

[](#post-installation)

Enabling it in your `application.config.php`file.

```
