geek1992/tools

There is no license information available for the latest version (1.0.7) of this package.

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/geek1992/tools

1.0.7 2019-08-22 11:07 UTC

This package is auto-updated.

Last update: 2025-09-29 02:28:24 UTC


README

$config = [
    'host'       => '127.0.0.1',
    'port'       => 6379,
    'auth'   => '',
    'select'     => 0,
    'timeout'    => 0,
    'expire'     => 0,
    'persistent' => false,
    'prefix'     => '',
];
$redis = \geek1992\redis\library\Redis::getInstance($config);

$redis->set('a', 1);

print_r($redis->get('a'));