2017 © Pedro Peláez
 

cakephp-plugin cakephp-redis-jwt-auth

CakePHP redis jwt auth

image

awallef/cakephp-redis-jwt-auth

CakePHP redis jwt auth

  • Thursday, July 27, 2017
  • by awallef
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

cakephp-redis-jwt-auth plugin for CakePHP

This plugin allows you store jwt token in redis engine and login via Basic, (*1)

Installation

You can install this plugin into your CakePHP application using composer., (*2)

The recommended way to install composer packages is:, (*3)

composer require awallef/cakephp-redis-jwt-auth

Load it in your config/boostrap.php, (*4)

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:, (*5)

  • 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:, (*6)

'Cache' => [
    ...
    'redis' => [
      'className' => 'Awallef/Redis.Redis',
      'prefix' => 'www.your-site.com:',
      'duration' => '+24 hours',
      'serialize' => true
    ],
    ...
]

The Versions

27/07 2017

dev-master

9999999-dev

CakePHP redis jwt auth

  Sources   Download

The Requires

 

The Development Requires

27/07 2017

3.4.0.1

3.4.0.1

CakePHP redis jwt auth

  Sources   Download

The Requires

 

The Development Requires

24/07 2017

3.4.0.0

3.4.0.0

CakePHP redis jwt auth

  Sources   Download

The Requires

 

The Development Requires