cakephp/authentication

Authentication plugin for CakePHP

Installs: 1 776 267

Dependents: 50

Suggesters: 3

Security: 0

Stars: 113

Watchers: 31

Forks: 103

Open Issues: 5

Type:cakephp-plugin

3.0.3 2023-12-01 02:37 UTC

README

Build Status 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:

php composer.phar require cakephp/authentication

Load the plugin by adding the following statement in your project's src/Application.php:

public function bootstrap(): void
{
    parent::bootstrap();

    $this->addPlugin('Authentication');
}

Documentation

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

IDE compatibility improvements

For AuthenticationService::loadIdentifier() you an find an IdeHelper task in IdeHelperExtra plugin.