/ezredis

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

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:

composer require ezsystems/ezplatform-redis:dev-master

Enable the bundle in app/AppKernel.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:

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