cakephp/authentication

Authentication plugin for CakePHP

Installs: 2 513 592

Dependents: 55

Suggesters: 2

Security: 0

Stars: 116

Watchers: 30

Forks: 106

Open Issues: 4

Type:cakephp-plugin

3.2.3 2025-04-20 12:09 UTC

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()
  • IdentifierCollection::load()