PHPackages                             cakephp/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. [Framework](/categories/framework)
4. /
5. cakephp/authorization

ActiveCakephp-plugin[Framework](/categories/framework)

cakephp/authorization
=====================

Authorization abstraction layer plugin for CakePHP

3.5.1(2mo ago)742.2M↑10.1%4420MITPHPPHP &gt;=8.1CI failing

Since Jan 19Pushed 1mo ago25 watchersCompare

[ Source](https://github.com/cakephp/authorization)[ Packagist](https://packagist.org/packages/cakephp/authorization)[ RSS](/packages/cakephp-authorization/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (20)Versions (47)Used By (20)

CakePHP Authorization
=====================

[](#cakephp-authorization)

[![CI](https://github.com/cakephp/authorization/actions/workflows/ci.yml/badge.svg)](https://github.com/cakephp/authorization/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/a3d877504349e57214ae7176456587bb7ccb5d3430e0d9c0ce80647d3f864cc3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f63616b657068702f617574686f72697a6174696f6e3f736f72743d73656d766572267374796c653d666c61742d737175617265)](https://packagist.org/packages/cakephp/authorization)[![Total Downloads](https://camo.githubusercontent.com/a87cb3f47ef218b8b0509ff3acf669363717e8973f65a86f63666e71df6710a7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616b657068702f617574686f72697a6174696f6e3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cakephp/authorization/stats)[![Coverage Status](https://camo.githubusercontent.com/5370b3a4fb2b635dd5c5b518fd7b772dc28be8ec093f83917b7d95fcdae463db/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f63616b657068702f617574686f72697a6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/cakephp/authorization)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Authorization stack for the CakePHP framework.

Authorization not Authentication
--------------------------------

[](#authorization-not-authentication)

This plugin intends to provide a framework around authorization and access control. Authentication is a [separate concern](https://en.wikipedia.org/wiki/Separation_of_concerns) that has been packaged into a separate [authentication plugin](https://github.com/cakephp/authentication).

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org):

```
composer require cakephp/authorization

```

Then load the plugin:

```
bin/cake plugin load Authorization

```

Documentation
-------------

[](#documentation)

Documentation for this plugin can be found in the [CakePHP Cookbook](https://book.cakephp.org/authorization/3/en/)

###  Health Score

71

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity57

Moderate usage in the ecosystem

Community43

Growing community involvement

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

Recently: every ~31 days

Total

43

Last Release

64d ago

Major Versions

1.x-dev → 2.3.12023-09-04

2.3.1 → 3.0.02023-09-05

2.4.0 → 3.1.02023-11-10

2.5.0 → 3.3.02024-10-18

2.x-dev → 3.4.32026-02-10

PHP version history (2 changes)2.0.0PHP &gt;=7.2

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23666?v=4)[CakePHP](/maintainers/cakephp)[@cakephp](https://github.com/cakephp)

---

Top Contributors

[![markstory](https://avatars.githubusercontent.com/u/24086?v=4)](https://github.com/markstory "markstory (304 commits)")[![robertpustulka](https://avatars.githubusercontent.com/u/7437773?v=4)](https://github.com/robertpustulka "robertpustulka (101 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (93 commits)")[![LordSimal](https://avatars.githubusercontent.com/u/9105243?v=4)](https://github.com/LordSimal "LordSimal (91 commits)")[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (61 commits)")[![othercorey](https://avatars.githubusercontent.com/u/24221186?v=4)](https://github.com/othercorey "othercorey (40 commits)")[![burzum](https://avatars.githubusercontent.com/u/162789?v=4)](https://github.com/burzum "burzum (26 commits)")[![zachee54](https://avatars.githubusercontent.com/u/42939319?v=4)](https://github.com/zachee54 "zachee54 (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![stickler-ci](https://avatars.githubusercontent.com/u/16011037?v=4)](https://github.com/stickler-ci "stickler-ci (6 commits)")[![saeideng](https://avatars.githubusercontent.com/u/8215801?v=4)](https://github.com/saeideng "saeideng (6 commits)")[![enviniom](https://avatars.githubusercontent.com/u/17869758?v=4)](https://github.com/enviniom "enviniom (4 commits)")[![Zuluru](https://avatars.githubusercontent.com/u/514172?v=4)](https://github.com/Zuluru "Zuluru (3 commits)")[![Iandenh](https://avatars.githubusercontent.com/u/2911923?v=4)](https://github.com/Iandenh "Iandenh (3 commits)")[![MrChozo](https://avatars.githubusercontent.com/u/11303817?v=4)](https://github.com/MrChozo "MrChozo (3 commits)")[![ndm2](https://avatars.githubusercontent.com/u/5031606?v=4)](https://github.com/ndm2 "ndm2 (3 commits)")[![amayer5125](https://avatars.githubusercontent.com/u/3212673?v=4)](https://github.com/amayer5125 "amayer5125 (3 commits)")[![hekep](https://avatars.githubusercontent.com/u/1901788?v=4)](https://github.com/hekep "hekep (2 commits)")[![josbeir](https://avatars.githubusercontent.com/u/26058?v=4)](https://github.com/josbeir "josbeir (2 commits)")[![swiffer](https://avatars.githubusercontent.com/u/2990373?v=4)](https://github.com/swiffer "swiffer (2 commits)")

---

Tags

authorizationcakephpcakephp-pluginmiddlewarephppsr7-middlewareauthcakephpaccessauthorization

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cakephp-authorization/health.svg)

```
[![Health](https://phpackages.com/badges/cakephp-authorization/health.svg)](https://phpackages.com/packages/cakephp-authorization)
```

###  Alternatives

[cakephp/authentication

Authentication plugin for CakePHP

1153.6M67](/packages/cakephp-authentication)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[windwalker/framework

The next generation PHP framework.

25639.1k1](/packages/windwalker-framework)[yiisoft/yii-middleware

Yii Middleware

21151.3k1](/packages/yiisoft-yii-middleware)

PHPackages © 2026

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