2017 © Pedro Peláez
 

yii2-extension redis

Redis class, For yii2 extention. Support multiple configuration.

image

yii2-cmslib/redis

Redis class, For yii2 extention. Support multiple configuration.

  • Thursday, March 15, 2018
  • by cunwang
  • Repository
  • 2 Watchers
  • 3 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

yii2-cmslib

2015/12/02 add file Redis.php

usage: echo <<< EOT, (*1)

use \Yii2cms\lib\RedisClass;

$redis=RedisClass::getInstance();
//$redis=RedisClass::getInstance('cms_slave');
//$redis=RedisClass::getInstance('msgque_slave');

var_dump($redis);
var_dump($redis->get($key));

EOT, (*2)


, (*3)

[notes]

Yii2中Redis配置文件格式 (\Yii::$app->params['redis']) 如下:, (*4)

$redisCon   = [
    'msgque_master' => [
        'host'  => '10.15.209.110',
        'port'  => '6379'
    ],
    'msgque_slave'  => [
        'host'  => '10.15.209.119',
        'port'  => '6379'
    ],
    ....
];

over, (*5)

The Versions

15/03 2018

dev-master

9999999-dev

Redis class, For yii2 extention. Support multiple configuration.

  Sources   Download

BSD-3-Clause

The Requires

 

by https://github.com/cunwang

extension yii2 redis multiple

03/07 2017

2.6.5

2.6.5.0

Redis class, For yii2 extention. Support multiple configuration.

  Sources   Download

BSD-3-Clause

The Requires

 

by https://github.com/cunwang

extension yii2 redis multiple

05/01 2016

2.6.4

2.6.4.0

Redis class, For yii2 extention. Support multiple configuration.

  Sources   Download

BSD-3-Clause

The Requires

 

by https://github.com/cunwang

extension yii2 redis multiple

02/12 2015

2.6.2

2.6.2.0

describe cmslib extention

  Sources   Download

BSD-3-Clause

The Requires

 

by https://github.com/cunwang

extension yii2

28/11 2015

2.6.3

2.6.3.0

Redis class, For yii2 extention. Support multiple configuration.

  Sources   Download

BSD-3-Clause

The Requires

 

by https://github.com/cunwang

extension yii2 redis multiple