2017 © Pedro Peláez
 

yii2-extension redis

Redis Cache, Session and ActiveRecord for the Yii framework

image

nailfor/redis

Redis Cache, Session and ActiveRecord for the Yii framework

  • Friday, August 25, 2017
  • by nailfor
  • Repository
  • 1 Watchers
  • 2 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 153 Forks
  • 0 Open issues
  • 14 Versions
  • 2 % Grown

The README.md

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., (*1)

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

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

Latest Stable Version Total Downloads Build Status, (*4)

Requirements

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

Installation

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

Either run, (*7)

php composer.phar require --prefer-dist nailfor/redis

or add, (*8)

"nailfor/redis": "~2.0.0"

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

Configuration

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

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

or if you want to use sock, (*11)

return [
    //....
    'components' => [
        'redis' => [
            'class' => 'yii\redis\Connection',
            'unixSocket' => '/var/run/redis/redis.sock',
        ],
    ]
];

The Versions

25/08 2017

dev-yiisoft

dev-yiisoft

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session

26/04 2017

dev-master

9999999-dev

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session expire geodata

19/08 2016

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 expire geodata

19/08 2016

2.0.6-beta

2.0.6.0-beta

Redis Cache, Session and ActiveRecord for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

cache yii2 redis active-record session expire geodata

19/08 2016

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 expire geodata

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