phphleb/hredis

PRedis connection for PHP Framework HLEB2

dev-main 2024-01-29 15:07 UTC

This package is auto-updated.

Last update: 2024-04-29 15:41:22 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.