limingxinleo/utils-redis

This is a util for redis

0.0.2 2017-06-07 08:07 UTC

This package is auto-updated.

Last update: 2021-04-17 11:16:23 UTC


README

Composer 安装

composer require limingxinleo/utils-redis

使用方法

$redis = \limx\utils\Redis::getInstance(
    $config->redis->host,
    $config->redis->auth,
    $config->redis->index,
    $config->redis->port
);

print_r($redis->keys("*"));