2017 © Pedro Peláez
 

yii2-extension yii2-redis

Yii 2 Redis extension with predis

image

pavle/yii2-redis

Yii 2 Redis extension with predis

  • Saturday, August 26, 2017
  • by Pavle Lee
  • Repository
  • 1 Watchers
  • 3 Stars
  • 135 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

yii2-redis

Using Predis and yii2 combination This extension is fully compatible with the yii2-redis extension, and you can use predis only if you replace the configuration, (*1)

Usage

  1. Change your redis component configuration, There is no need to change any of the previous code, That's all right.
'redis' => [
    'class' => pavle\yii\redis\Connection::class,
    'parameters' => ['tcp://xx.xx.x.xx:30001', 'tcp://xx.xx.x.xx:30002', 'tcp://xx.xx.x.xx:30003'],
    //'parameters' => 'tcp://192.168.2.240:6379',
    'options' => ['cluster' => 'redis'],
],

2.More usage yii2-redis Document, (*2)

3.Using the predis client, (*3)

Yii::$app->redis->getClient();

The Versions

26/08 2017

dev-master

9999999-dev

Yii 2 Redis extension with predis

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar Pavle Lee

redis predis yii

26/08 2017

v1.1.1

1.1.1.0

Yii 2 Redis extension with predis

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar Pavle Lee

redis predis yii

01/06 2017

v1.1

1.1.0.0

Yii 2 Redis extension with predis

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar Pavle Lee

redis predis yii

17/05 2017

v1.0

1.0.0.0

Yii 2 Redis extension with predis

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar Pavle Lee

redis predis yii