phphleb/hredis

PRedis connection for PHP Framework HLEB2

Maintainers

Package info

github.com/phphleb/hredis

pkg:composer/phphleb/hredis

Statistics

Installs: 6

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2024-01-29 15:07 UTC

This package is auto-updated.

Last update: 2026-03-06 04:42:31 UTC


README

HLEB2 PHP License: MIT

// Wrapper for predis/predis library with HLEB2 framework configuration included.

// Обёртка для библиотеки predis/predis с подключением конфигурации фреймворка HLEB2.

use \Phphleb\Hredis\HRedis;
$client = (new HRedis())->client();
$client->append($key, $value);

You can add the HRedis object as a service to the framework container.