deable / redis
Simpliest way to use redis client on your nette project.
v1.1.0
2024-11-06 10:50 UTC
Requires
- php: >= 7.4
- deable/serializer: ^1.0
- nette/application: ^3.0
- nette/di: ^3.0
- tracy/tracy: ^2.2
This package is auto-updated.
Last update: 2024-11-06 10:51:08 UTC
README
Simple redis client implementation for nette framework with transactions. Thanks to this library, you can simplify your workflow with redis and Nette Framework.
Requirements
This library was developed for PHP 7.4 or newer, designed for Nette Framework version 3.1 or newer.
Installation
The best way to install this library is using Composer:
$ composer require deable/redis
Usage
Add extension to your application configuration:
extensions:
redis: Deable\Redis\RedisExtension
redis:
config:
host: localhost
port: 6379
timeout: 5.0
database: 0
persistent: false
auth: null
autowired: false
debugger: false
Contributing
This is an open source, community-driven project. If you would like to contribute, please follow the code format as used in current sources and submit a pull request.