There is no license information available for the latest version ( of this package.

CakePHP redis jwt auth 2017-07-27 14:47 UTC


This plugin allows you store jwt token in redis engine and login via Basic


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

The recommended way to install composer packages is:

composer require awallef/cakephp-redis-jwt-auth

Load it in your config/boostrap.php

Plugin::load('Awallef/RJA',['boostrap' => true]);

Redis caching

This plugin provides a very little bit different redis engine based on cakephp's RedisEngine. differences are:

  • Engine config comes with a bool 'serialize' option ( default is true )
  • Read and wirte fct use config 'serialize' option
  • Keys are stored/read/deleted in order to uses : and :* redis skills!

Configure the engine in app.php like follow:

'Cache' => [
    'redis' => [
      'className' => 'Awallef/Redis.Redis',
      'prefix' => '',
      'duration' => '+24 hours',
      'serialize' => true