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.2(1mo ago)762.5M—8.5%44[1 PRs](https://github.com/cakephp/authorization/pulls)20MITPHPPHP &gt;=8.1CI passing

Since Jan 19Pushed 2d ago25 watchersCompare

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

READMEChangelog (10)Dependencies (30)Versions (55)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

74

—

ExcellentBetter than 100% of packages

Maintenance97

Actively maintained with recent releases

Popularity58

Moderate usage in the ecosystem

Community44

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

Total

44

Last Release

2d 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 (305 commits)")[![robertpustulka](https://avatars.githubusercontent.com/u/7437773?v=4)](https://github.com/robertpustulka "robertpustulka (101 commits)")[![LordSimal](https://avatars.githubusercontent.com/u/9105243?v=4)](https://github.com/LordSimal "LordSimal (97 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (93 commits)")[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (66 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] (13 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)")[![jamisonbryant](https://avatars.githubusercontent.com/u/6774110?v=4)](https://github.com/jamisonbryant "jamisonbryant (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)")[![josbeir](https://avatars.githubusercontent.com/u/26058?v=4)](https://github.com/josbeir "josbeir (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)")[![davidspeijer](https://avatars.githubusercontent.com/u/20836703?v=4)](https://github.com/davidspeijer "davidspeijer (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

1214.1M106](/packages/cakephp-authentication)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.1k](/packages/typo3-cms-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

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