2017 © Pedro Peláez
 

library redis-client

redis client.

image

fsth/redis-client

redis client.

  • Tuesday, November 21, 2017
  • by qiqisan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 204 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

redis-client

a redis contains reconnect 

usage

$this->client = new Client($this->host, $this->port);
$this->proxy = new Proxy($this->client);
$this->proxy->setLogger(new FakeLogger());

$this->proxy->set('hello', 'world');
$this->assertEquals($this->proxy->get('hello'), 'world');
$this->proxy->del('hello');
$this->assertEmpty($this->proxy->get('hello'));

$error = "";
$this->proxy->disconnect();
try {
    $this->proxy->set('hello', 'world');
} catch (\Exception $e) {
    $error = $e->getMessage();
}
$this->assertEmpty($error);

$this->client->set('hello', 'world');
$this->assertEquals($this->proxy->get('hello'), 'world');

The Versions

21/11 2017

dev-master

9999999-dev

redis client.

  Sources   Download

MIT

The Requires

 

21/11 2017

v0.1.7

0.1.7.0

redis client.

  Sources   Download

MIT

The Requires

 

18/08 2017

v0.1.6

0.1.6.0

redis client.

  Sources   Download

MIT

The Requires

 

20/07 2017

v0.1.5

0.1.5.0

redis client.

  Sources   Download

MIT

The Requires

 

19/06 2017

v0.1.4

0.1.4.0

redis client.

  Sources   Download

MIT

The Requires

 

25/10 2016

v0.1.2

0.1.2.0

redis client.

  Sources   Download

MIT

The Requires

 

25/10 2016

v0.1.1

0.1.1.0

redis client.

  Sources   Download

MIT

The Requires

 

19/10 2016

v0.1.0

0.1.0.0

redis client.

  Sources   Download

MIT

The Requires