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

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

dotkernel/dot-controller-plugin-authorization
=============================================

DotKernel authorization controller plugin

2.9.2(2y ago)22.4k↓50%21MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0

Since Mar 8Pushed 2y agoCompare

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

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

Caution

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

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

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

dot-controller-plugin-authorization
===================================

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

Authorization controller plugin

[![OSS Lifecycle](https://camo.githubusercontent.com/d86c2d5810cc59811b99e5514512a38cf8a38b890c5d0a4f129702fe46469b19/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d617574686f72697a6174696f6e)](https://camo.githubusercontent.com/d86c2d5810cc59811b99e5514512a38cf8a38b890c5d0a4f129702fe46469b19/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d617574686f72697a6174696f6e)[![GitHub license](https://camo.githubusercontent.com/9c841dc96a54fa93791f444d9edd3ee24b28dc757014ba6734bf77307b7e290f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d617574686f72697a6174696f6e)](https://github.com/dotkernel/dot-controller-plugin-authorization/blob/2.0.1/LICENSE.md)[![PHP from Packagist (specify version)](https://camo.githubusercontent.com/29ed06e4454a6ca41cbf28c20983cc1590bfb68188284ba402d54b2ee5a2c3ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d617574686f72697a6174696f6e2f322e392e32)](https://camo.githubusercontent.com/29ed06e4454a6ca41cbf28c20983cc1590bfb68188284ba402d54b2ee5a2c3ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f746b65726e656c2f646f742d636f6e74726f6c6c65722d706c7567696e2d617574686f72697a6174696f6e2f322e392e32)

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

[](#installation)

Run the following command

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

This will also install packages `dotkernel/dot-controller` and `dotkernel/dot-authorization` as dependencies. Next, enable the module by merging the `ConfigProvider` to your application's configuration.

Usage
-----

[](#usage)

In any controller, you can access this plugin by calling

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

This plugin defines one method, as a proxy to the registered authorization service

```
$this->authorization()->isGranted($permission, array $roles = [], $context = null);
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 53.6% of commits — single point of failure

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 ~257 days

Recently: every ~169 days

Total

11

Last Release

784d ago

Major Versions

0.2.1 → v1.0.02018-05-14

v1.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 (15 commits)")[![arhimede](https://avatars.githubusercontent.com/u/22009710?v=4)](https://github.com/arhimede "arhimede (5 commits)")[![gabidj](https://avatars.githubusercontent.com/u/3998573?v=4)](https://github.com/gabidj "gabidj (2 commits)")[![mstyle21](https://avatars.githubusercontent.com/u/23695798?v=4)](https://github.com/mstyle21 "mstyle21 (1 commits)")[![claurospace](https://avatars.githubusercontent.com/u/224870609?v=4)](https://github.com/claurospace "claurospace (1 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)")[![roli85](https://avatars.githubusercontent.com/u/48314447?v=4)](https://github.com/roli85 "roli85 (1 commits)")[![SergiuBota1](https://avatars.githubusercontent.com/u/50962867?v=4)](https://github.com/SergiuBota1 "SergiuBota1 (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  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)
