PHPackages                             cakedc/auth - 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. cakedc/auth

ActiveCakephp-plugin[Authentication &amp; Authorization](/categories/authentication)

cakedc/auth
===========

Auth objects for CakePHP

10.1.4(8mo ago)31656.2k↓43.4%31[4 PRs](https://github.com/CakeDC/auth/pulls)2MITPHPPHP &gt;=8.1CI failing

Since Mar 14Pushed 5mo ago11 watchersCompare

[ Source](https://github.com/CakeDC/auth)[ Packagist](https://packagist.org/packages/cakedc/auth)[ Docs](https://github.com/CakeDC/auth)[ RSS](/packages/cakedc-auth/feed)WikiDiscussions 10.next-cake5 Synced 1w ago

READMEChangelog (10)Dependencies (15)Versions (65)Used By (2)

CakeDC Auth Plugin
==================

[](#cakedc-auth-plugin)

 [ ![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265) ](LICENSE) [![Build Status](https://github.com/cakedc/auth/actions/workflows/ci.yml/badge.svg)](https://github.com/cakedc/auth/actions/workflows/ci.yml/badge.svg) [ ![Coverage Status](https://camo.githubusercontent.com/2d242d6707ae1eaad8c109c2e314c4fc4e9d25cd559e4ab3d7dcddd5ad6d4fba/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f63616b6564632f617574683f7374796c653d666c61742d737175617265) ](https://codecov.io/gh/cakedc/auth) [ ![Total Downloads](https://camo.githubusercontent.com/99ba3f10a7578d43a7f95d71619d3614bc26a728c801d74a4dcc1cc70a340943/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616b6564632f617574682e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/cakedc/auth) [ ![Latest Stable Version](https://camo.githubusercontent.com/6d6e1aca13cf2629ac27af2c31b45693552ff6d44b7b1cc547f03d5be153f630/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63616b6564632f617574682e7376673f7374796c653d666c61742d737175617265266c6162656c3d737461626c65) ](https://packagist.org/packages/cakedc/auth)

CakeDC Auth Objects is a refactor of the existing Auth objects present in the CakeDC Users Plugin, to let anyone else use them in their projects.

It covers the following features:

- RBAC
- Remember me (Cookie)
- ApiAuthenticate for simple token based login

Requirements
------------

[](#requirements)

- CakePHP 4.0.0+
- PHP 7.2+

Versions and branches
---------------------

[](#versions-and-branches)

CakePHPCakeDC Auth PluginTagNotes^4.3[7.0](https://github.com/cakedc/auth/tree/7.next-cake4)7.0.0stable^4.0 &lt;4.3[6.0](https://github.com/cakedc/auth/tree/6.next-cake4)6.0.2stable^3.7 &lt;4.0.0[5.0](https://github.com/cakedc/auth/tree/5.next)5.0.0stableDocumentation
-------------

[](#documentation)

For documentation, as well as tutorials, see the [Docs](Docs/Home.md) directory of this repository.

Support
-------

[](#support)

For bugs and feature requests, please use the [issues](https://github.com/CakeDC/auth/issues) section of this repository.

Commercial support is also available, [contact us](https://www.cakedc.com/contact) for more information.

Contributing
------------

[](#contributing)

This repository follows the [CakeDC Plugin Standard](https://www.cakedc.com/plugin-standard). If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our [Contribution Guidelines](https://www.cakedc.com/contribution-guidelines) for detailed instructions.

License
-------

[](#license)

Copyright 2017 Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance65

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity86

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

Recently: every ~70 days

Total

43

Last Release

179d ago

Major Versions

9.0.0 → 10.0.02024-02-09

8.0.4 → 9.0.12025-03-07

9.0.1 → 10.1.32025-03-07

7.2.1 → 9.1.02025-04-22

9.1.0 → 10.1.42025-09-26

PHP version history (4 changes)5.0.0PHP &gt;=7.2.0

8.0.0PHP &gt;=8.1.0

10.1.0PHP &gt;=8.1

9.1.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/204531?v=4)[Cake Development Corporation](/maintainers/CakeDC)[@CakeDC](https://github.com/CakeDC)

---

Top Contributors

[![steinkel](https://avatars.githubusercontent.com/u/151761?v=4)](https://github.com/steinkel "steinkel (126 commits)")[![rochamarcelo](https://avatars.githubusercontent.com/u/850748?v=4)](https://github.com/rochamarcelo "rochamarcelo (120 commits)")[![skie](https://avatars.githubusercontent.com/u/130799?v=4)](https://github.com/skie "skie (47 commits)")[![ajibarra](https://avatars.githubusercontent.com/u/794722?v=4)](https://github.com/ajibarra "ajibarra (16 commits)")[![arodu](https://avatars.githubusercontent.com/u/12447690?v=4)](https://github.com/arodu "arodu (13 commits)")[![flohdez](https://avatars.githubusercontent.com/u/110687305?v=4)](https://github.com/flohdez "flohdez (13 commits)")[![louis-iteracode](https://avatars.githubusercontent.com/u/83949175?v=4)](https://github.com/louis-iteracode "louis-iteracode (4 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (3 commits)")[![rogerpro](https://avatars.githubusercontent.com/u/6726408?v=4)](https://github.com/rogerpro "rogerpro (3 commits)")[![LordSimal](https://avatars.githubusercontent.com/u/9105243?v=4)](https://github.com/LordSimal "LordSimal (2 commits)")[![CauanCabral](https://avatars.githubusercontent.com/u/83092?v=4)](https://github.com/CauanCabral "CauanCabral (2 commits)")[![martonmiklos](https://avatars.githubusercontent.com/u/1609182?v=4)](https://github.com/martonmiklos "martonmiklos (1 commits)")[![medero](https://avatars.githubusercontent.com/u/29695?v=4)](https://github.com/medero "medero (1 commits)")[![NickBusey](https://avatars.githubusercontent.com/u/280825?v=4)](https://github.com/NickBusey "NickBusey (1 commits)")[![jtraulle](https://avatars.githubusercontent.com/u/613615?v=4)](https://github.com/jtraulle "jtraulle (1 commits)")[![emersonthis](https://avatars.githubusercontent.com/u/1728139?v=4)](https://github.com/emersonthis "emersonthis (1 commits)")[![challgren](https://avatars.githubusercontent.com/u/88909?v=4)](https://github.com/challgren "challgren (1 commits)")[![arusinowski](https://avatars.githubusercontent.com/u/1587389?v=4)](https://github.com/arusinowski "arusinowski (1 commits)")[![yeliparra](https://avatars.githubusercontent.com/u/428410?v=4)](https://github.com/yeliparra "yeliparra (1 commits)")

---

Tags

authenticationauthorizationcakephpcakephp-plugincakephp3authAuthenticationcakephpcakedc

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cakedc-auth/health.svg)

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

###  Alternatives

[cakedc/users

Users Plugin for CakePHP

528918.4k18](/packages/cakedc-users)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131237.3k12](/packages/dereuromark-cakephp-tinyauth)[uzyn/cakephp-opauth

Opauth plugin for CakePHP v2.x, allowing simple plug-n-play 3rd-party authentication with CakePHP

130277.0k](/packages/uzyn-cakephp-opauth)[andrej-griniuk/cakephp-two-factor-auth

CakePHP auth component and provider fot two-factor authentication

38107.7k](/packages/andrej-griniuk-cakephp-two-factor-auth)[muffin/oauth2

CakePHP 3 authentication using the league/oauth2-client family

26109.0k](/packages/muffin-oauth2)[xety/cake3-cookieauth

A simple Cake3 plugin to authenticate users with Cookies.

1856.1k2](/packages/xety-cake3-cookieauth)

PHPackages © 2026

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