2017 © Pedro Peláez
 

yii2-extension yii2-redis

Redis Cache, Session and ActiveRecord for the Yii framework

image

yiisoft/yii2-redis

Redis Cache, Session and ActiveRecord for the Yii framework

  • Friday, May 4, 2018
  • by cebe
  • Repository
  • 49 Watchers
  • 315 Stars
  • 1,098,944 Installations
  • PHP
  • 152 Dependents
  • 14 Suggesters
  • 153 Forks
  • 25 Open issues
  • 14 Versions
  • 12 % Grown

The README.md

, (*1)

Redis Cache, Session and ActiveRecord for Yii 2


This extension provides the redis key-value store support for the Yii framework 2.0. It includes a Cache and Session storage handler and implements the ActiveRecord pattern that allows you to store active records in redis., (*2)

For license information check the LICENSE-file., (*3)

Documentation is at docs/guide/README.md., (*4)

Latest Stable Version Total Downloads Build status, (*5)

Requirements

At least redis version 2.6.12 is required for all components to work properly., (*6)

Installation

The preferred way to install this extension is through composer., (*7)

Either run, (*8)

php composer.phar require --prefer-dist yiisoft/yii2-redis:"~2.0.0"

or add, (*9)

"yiisoft/yii2-redis": "~2.0.0"

to the require section of your composer.json., (*10)

Configuration

To use this extension, you have to configure the Connection class in your application configuration:, (*11)

return [
    //....
    'components' => [
        'redis' => [
            'class' => 'yii\redis\Connection',
            'hostname' => 'localhost',
            'port' => 6379,
            'database' => 0,
        ],
    ]
];

SSL configuration example:, (*12)

return [
    //....
    'components' => [
        'redis' => [
            'class' => 'yii\redis\Connection',
            'hostname' => 'localhost',
            'port' => 6380,
            'database' => 0,
            'useSSL' => true,
        ],
    ],
];

The Versions

04/05 2018

dev-master

9999999-dev

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

cache yii2 redis active-record session

20/03 2018

2.0.8

2.0.8.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

cache yii2 redis active-record session

11/12 2017

2.0.7

2.0.7.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

05/04 2017

2.0.6

2.0.6.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

04/04 2017

dev-retry-connect

dev-retry-connect

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

17/03 2016

2.0.5

2.0.5.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

11/05 2015

2.0.4

2.0.4.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

01/03 2015

2.0.3

2.0.3.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

11/01 2015

2.0.2

2.0.2.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

07/12 2014

2.0.1

2.0.1.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

12/10 2014

2.0.0

2.0.0.0

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

28/09 2014

2.0.0-rc

2.0.0.0-RC

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

13/04 2014

2.0.0-beta

2.0.0.0-beta

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

30/11 2013

2.0.0-alpha

2.0.0.0-alpha

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache redis yii active-record session