https://github.com/phphleb/hredis
PRedis connection for Framework HLEB2
https://github.com/phphleb/hredis
Last synced: 4 months ago
JSON representation
PRedis connection for Framework HLEB2
- Host: GitHub
- URL: https://github.com/phphleb/hredis
- Owner: phphleb
- License: mit
- Created: 2022-01-23T18:08:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-06T01:39:30.000Z (over 1 year ago)
- Last Synced: 2024-12-15T07:47:57.519Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## HRedis
[](https://github.com/phphleb/hleb)  [-brightgreen.svg)](https://github.com/phphleb/hleb/blob/master/LICENSE)
```php
// 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.