Search by

pieceofcake2 / authenticate

ttsurupieceofcake2

Authentication objects for the CakePHP 2 AuthComponent: multi-column form, cookie and token authentication

Package info

github.com/pieceofcake2/authenticate

Type:cakephp-plugin

pkg:composer/pieceofcake2/authenticate

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

v1.0.7 2026-10-16 08:35 UTC

README

GitHub License Packagist Version PHP CakePHP PHPStan CI Codecov

Authentication objects for the AuthComponent of CakePHP 2 applications running on pieceofcake2/cakephp:

  • MultiColumnAuthenticate: log in with the username or another column, such as the email address, in a single form field
  • CookieAuthenticate: log in with an encrypted cookie ("remember me")
  • TokenAuthenticate: authenticate requests with a token in a query parameter or a header

This is a fork of FriendsOfCake/Authenticate for CakePHP 2.

Documentation

The Markdown documentation is also included in the Composer package, in the plugin's directory: plugins/Authenticate/docs/README.md (the location depends on your installer-paths). Install the package with --dev if you only need it for development.

Requirements

  • PHP 8.0+
  • pieceofcake2/cakephp 2.12+

Installation

composer require pieceofcake2/authenticate

Then load the plugin with CakePlugin::load('Authenticate') and add the authenticate objects to the authenticate setting of AuthComponent.

Contributing

See the contribution guidelines.

Origin

This package is a maintained fork of FriendsOfCake/Authenticate (friendsofcake/authenticate on Packagist, last upstream version 1.0.2), originally by M. Ypes (Ceeram). It is maintained for CakePHP 2 on modern PHP by pieceofcake2. Changes from the original are listed in the commit history since the fork.

License

Licensed under the MIT License. See LICENSE.