An open API service indexing awesome lists of open source software.

https://github.com/kmadejski/ezredis


https://github.com/kmadejski/ezredis

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# eZ Platform Redis
This package provides possibility to benefit from using different data serializers and compressors when using Redis.

Currently supported serializers:
- igbinary

Currently supported compressors:
- lzf

# Installation
Run the following from your eZ Platform installation root:
```bash
composer require ezsystems/ezplatform-redis:dev-master
```
Enable the bundle in app/AppKernel.php:
```php
$bundles = array(
// existing bundles
new EzSystems\EzPlatformRedisBundle\EzPlatformRedisBundle(),
);
```

# Configuration
You have to configure the bundle in your `app/config/ezplatform.yml` or `app/config/config.yml` as above:

```yml
ez_platform_redis:
serializer: igbinary // possible options: native, igbinary
compressor: lzf // possible options: none, lzf
marshaller: default // possible options: default
```