PHPackages                             dotkernel/dot-controller-plugin-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. dotkernel/dot-controller-plugin-authentication

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

dotkernel/dot-controller-plugin-authentication
==============================================

DotKernel authentication controller plugin

2.9.2(2y ago)22.4k↓50%2[1 issues](https://github.com/dotkernel/dot-controller-plugin-authentication/issues)1MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0

Since Mar 8Pushed 2y agoCompare

[ Source](https://github.com/dotkernel/dot-controller-plugin-authentication)[ Packagist](https://packagist.org/packages/dotkernel/dot-controller-plugin-authentication)[ RSS](/packages/dotkernel-dot-controller-plugin-authentication/feed)WikiDiscussions 2.9-PHP-8.1 Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (1)

dot-controller-plugin-authentication
====================================

[](#dot-controller-plugin-authentication)

Authentication controller plugin.

Caution

Security-Only Maintenance Mode
------------------------------

[](#security-only-maintenance-mode)

This package is considered feature-complete, and is now in **security-only** maintenance mode.

[![OSS Lifecycle](https://camo.githubusercontent.com/45ec84fbe36ed3f99e85dda54af47e9687189ac0836d960e13a28be36671c110/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d61757468656e7469636174696f6e)](https://camo.githubusercontent.com/45ec84fbe36ed3f99e85dda54af47e9687189ac0836d960e13a28be36671c110/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d61757468656e7469636174696f6e)[![GitHub license](https://camo.githubusercontent.com/f78fb342c06a92870d577b68712d659aeab9786fc0adeae380efd012b6ceecce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d61757468656e7469636174696f6e)](https://github.com/dotkernel/dot-controller-plugin-authentication/blob/2.0.3/LICENSE.md)[![PHP from Packagist (specify version)](https://camo.githubusercontent.com/39fd14a81f3e48ccb662071dc35c479308f867a318cb718a786b5004fc3d83a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d61757468656e7469636174696f6e2f322e392e32)](https://camo.githubusercontent.com/39fd14a81f3e48ccb662071dc35c479308f867a318cb718a786b5004fc3d83a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d61757468656e7469636174696f6e2f322e392e32)

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

[](#installation)

Run the following command

```
$ composer require dotkernel/dot-controller-plugin-authentication
```

This will also install package `dotkernel/dot-controller` and `dotkernel/dot-authentication` as dependencies Enable the module by merging the `ConfiProvider` output to your application's configuration, to register the services defined by this module.

Usage
-----

[](#usage)

In any controller, you can access this plugin by calling

```
$this->authentication()->...
```

This plugin defines 2 methods you can use in your controllers to check for the currently authenticated identity.

```
$this->authentication()->hasIdentity()
```

Returns a boolean value indicating if there is an authenticated identity or a guest identity

```
$this->authentication()->getIdentity()
```

Returns the current identity as an hydrated object, as defined in the authentication module

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~214 days

Recently: every ~169 days

Total

13

Last Release

787d ago

Major Versions

0.2.1 → 1.0.02018-04-12

1.0.0 → v2.0.02020-01-30

PHP version history (4 changes)0.1.0PHP ^7.1

v2.0.0PHP ^7.2

2.9.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

2.9.2PHP ~8.1.0 || ~8.2.0 || ~8.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1156873?v=4)[Dotkernel](/maintainers/dotkernel)[@dotkernel](https://github.com/dotkernel)

---

Top Contributors

[![n3vrax](https://avatars.githubusercontent.com/u/5805542?v=4)](https://github.com/n3vrax "n3vrax (14 commits)")[![arhimede](https://avatars.githubusercontent.com/u/22009710?v=4)](https://github.com/arhimede "arhimede (8 commits)")[![SergiuBota1](https://avatars.githubusercontent.com/u/50962867?v=4)](https://github.com/SergiuBota1 "SergiuBota1 (3 commits)")[![claurospace](https://avatars.githubusercontent.com/u/224870609?v=4)](https://github.com/claurospace "claurospace (2 commits)")[![gabidj](https://avatars.githubusercontent.com/u/3998573?v=4)](https://github.com/gabidj "gabidj (2 commits)")[![pinclau](https://avatars.githubusercontent.com/u/24491812?v=4)](https://github.com/pinclau "pinclau (1 commits)")[![PopNatanael](https://avatars.githubusercontent.com/u/56395369?v=4)](https://github.com/PopNatanael "PopNatanael (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dotkernel-dot-controller-plugin-authentication/health.svg)

```
[![Health](https://phpackages.com/badges/dotkernel-dot-controller-plugin-authentication/health.svg)](https://phpackages.com/packages/dotkernel-dot-controller-plugin-authentication)
```

###  Alternatives

[kokspflanze/bjy-authorize

Laminas\\Acl based firewall system for Laminas dispatch protection

20178.2k4](/packages/kokspflanze-bjy-authorize)[lm-commons/lmc-rbac-mvc

Laminas Framework MVC Module that provides a layer of features of Laminas\\Permissions\\Rbac

12401.0k7](/packages/lm-commons-lmc-rbac-mvc)[saeven/zf3-circlical-user

Complete user entity, rights, and access module for Laminas

3718.7k](/packages/saeven-zf3-circlical-user)[saeven/zf3-circlical-autowire

Annotation based routing, and magic Controller creation for Laminas and ZF3.

1430.0k](/packages/saeven-zf3-circlical-autowire)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
