tinson/redis-client

PHP Redis Client

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/tinson/redis-client

v1.0.1 2019-11-21 07:35 UTC

This package is auto-updated.

Last update: 2025-09-21 22:55:34 UTC


README

The Project is a PHP Library implementing redis client.

Quick Start

        $config = [
            'host' => '127.0.0.1', //optional, default: 127.0.0.1
            'port' => 6379, //optional, default: 6379
            'timeout' => 1, //optional,default: 1ms
            'password' => null, //optional, default: null
            'db' => 10, //optional, default: null
        ];
        $client = new \SimpleRedis\Client($config);
        $client->set("test", 1);
        $res = $client->get("test");
        var_dump($res);