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: 2024-10-17 18:52:59 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("*"));