Download the PHP package yii2-cmslib/redis without Composer
On this page you can find all versions of the php package yii2-cmslib/redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yii2-cmslib/redis
More information about yii2-cmslib/redis
Files in yii2-cmslib/redis
Download yii2-cmslib/redis
More information about yii2-cmslib/redis
Files in yii2-cmslib/redis
Vendor yii2-cmslib
Package redis
Short Description Redis class, For yii2 extention. Support multiple configuration.
License BSD-3-Clause
Package redis
Short Description Redis class, For yii2 extention. Support multiple configuration.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package redis
yii2-cmslib
2015/12/02 add file Redis.php
usage: echo <<< EOT
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
[notes]
Yii2中Redis配置文件格式 (\Yii::$app->params['redis']) 如下:
$redisCon = [
'msgque_master' => [
'host' => '10.15.209.110',
'port' => '6379'
],
'msgque_slave' => [
'host' => '10.15.209.119',
'port' => '6379'
],
....
];
over
All versions of redis with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package yii2-cmslib/redis contains the following files
Loading the files please wait ...