Download the PHP package nojimage/cakephp-remember-me without Composer

On this page you can find all versions of the php package nojimage/cakephp-remember-me. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cakephp-remember-me

RememberMe authentication adapter plugin for CakePHP

Software License Build Status Codecov Latest Stable Version

This plugin provides an authenticate handler that permanent login by cookie. This plugin use method of issuing a token, instead of set to cookie encrypted username/password.

This library inspired by Barry Jaspan's article "Improved Persistent Login Cookie Best Practice", and Gabriel Birke's libray "https://github.com/gbirke/rememberme".

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

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

or running the console command

Run migration:

Usage with Authentication plugin

If you're using cakephp/authentication, use RememberMeTokenIdentifier and CookeAuthenticator.

Example load RememberMe's Identifier and Authenticator into the getAuthenticationService hook within Application:

more document for getAuthenticationService, see: Quick Start - CakePHP Authentication 3.x

RememberMe.RememberMeTokenIdentifier options

fields

The fields for the lookup.

default: ['username' => 'username']

resolver

The identity resolver. If change your Resolver, must extend Authentication\Identifier\Resolver\OrmResolver.

default: 'Authentication.Orm'

tokenStorageModel

A model used for find login cookie tokens.

default: 'RememberMe.RememberMeTokens'

userTokenFieldName

A property name when adding token data to identity.

default: 'remember_me_token'

RememberMe.CookeAuthenticator options

loginUrl

The login URL, string or array of URLs. Default is null and all pages will be checked.

default: null

urlChecker

The URL checker class or object.

default: 'DefaultUrlChecker'

rememberMeField

When this key is input by form authentication, it issues a login cookie.

default: 'remember_me'

fields

Array that maps username to the specified POST data fields.

default: ['username' => 'username']

cookie

Write option for login cookie.

tokenStorageModel

A model used for storing login cookie tokens.

default: 'RememberMe.RememberMeTokens'

always

When this option is set to true, a login cookie is always issued after authentication identified.

default: false

dropExpiredToken

When this option is set to true, drop expired tokens after authentication identified.

default: true


All versions of cakephp-remember-me with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
cakephp/core Version ^5.0
cakephp/orm Version ^5.0
cakephp/authentication Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nojimage/cakephp-remember-me contains the following files

Loading the files please wait ....