pieceofcake2 / authenticate
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
Requires
- php: >=8.0
- composer/installers: ^1.0 || ^2.0
- pieceofcake2/cakephp: ^2.12
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.6
- pieceofcake2/app: ^2.2
- pieceofcake2/phpcs-cakephp2: ^1.1
- pieceofcake2/phpstan-cakephp2: ^1.0
Suggests
None
Provides
None
Conflicts
None
Replaces
- ceeram/authenticate: ^1.0
- friendsofcake/authenticate: ^1.0
This package is auto-updated.
Last update: 2026-10-16 09:33:14 UTC
README
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 fieldCookieAuthenticate: 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
- Website: https://pieceofcake2.github.io/authenticate/ (日本語: https://pieceofcake2.github.io/authenticate/ja/)
- Markdown: docs/README.md (日本語: docs/ja/README.md) (for AI tools and offline reading)
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.