Download the PHP package node-link/cakephp-remember-me without Composer
On this page you can find all versions of the php package node-link/cakephp-remember-me. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download node-link/cakephp-remember-me
More information about node-link/cakephp-remember-me
Files in node-link/cakephp-remember-me
Package cakephp-remember-me
Short Description CakePHP plugin that performs Remember-me authentication with the new cookie algorithm of version 3.5 or later
License MIT
Homepage https://github.com/node-link/cakephp-remember-me
Informations about the package cakephp-remember-me
RememberMe plugin for CakePHP
CakePHP plugin that performs Remember-me authentication with the new cookie algorithm of version 3.5 or later.
Requirements
- CakePHP 3.5 or later
- PHP 5.6 or later
Installation
1. Install plugin
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
2. Load plugin
Please load the plugin manually as follows:
Prior to 3.6.0, you should use Plugin::load():
Or, use bin/cake to load the plugin as follows:
3. Set up AuthComponent
In the AppController.php of your application, set up AuthComponent.
4. Updating database and models
Please update database and models as necessary.
5. Edit login template
Add the following to your login template:
Configuration
Edit config/.env or config/app.php.
The full default configuration is as follows:
It is recommended to set random string to SECURITY_COOKIE_KEY of config/.env, or 'Security.cookieKey' of config/app.php.
Reporting Issues
If you have a problem with the RememberMe plugin, please send a pull request or open an issue on GitHub.
Also, I would appreciate it if you contribute to updating README.md file.