cakephp/authentication

Authentication plugin for CakePHP

Maintainers

👁 cakephp

Package info

github.com/cakephp/authentication

Homepage

Forum

Documentation

Type:cakephp-plugin

pkg:composer/cakephp/authentication

Statistics

Installs: 4 047 325

Dependents: 69

Suggesters: 3

Stars: 115

Open Issues: 2

4.1.1 2026-06-13 10:24 UTC

Requires (Dev)

Suggests

  • ext-ldap: Make sure this php extension is installed and enabled on your system if you want to use the built-in LDAP adapter for "LdapIdentifier".
  • cakephp/cakephp: Install full core to use "CookieAuthenticator".
  • cakephp/orm: To use "OrmResolver" (Not needed separately if using full CakePHP framework).
  • cakephp/utility: Provides CakePHP security methods. Required for the JWT adapter and Legacy password hasher.
  • firebase/php-jwt: If you want to use the JWT adapter add this dependency

Provides

None

Conflicts

None

Replaces

None

MIT ee24bd48b9c3ef693dc9965de8f0cc8020a7052c

Authenticationcakephpmiddlewareauth


README

👁 CI
👁 Latest Stable Version
👁 Total Downloads
👁 Code Coverage
👁 Software License

PSR7 Middleware authentication stack for the CakePHP framework.

Don't know what middleware is? Check the CakePHP documentation and additionally read this.

Authentication, not Authorization

This plugin intends to provide a framework around authentication and user identification. Authorization is a separate concern that has been packaged into a separate authorization plugin.

Installation

You can install this plugin into your CakePHP application using composer:

composer require cakephp/authentication

Then load the plugin:

bin/cake plugin load Authentication

Documentation

Documentation for this plugin can be found in the CakePHP Cookbook.

IDE compatibility improvements

There are IdeHelper tasks in IdeHelperExtra plugin to provide auto-complete:

  • AuthenticationService::loadAuthenticator()