https://github.com/kmadejski/ezredis
https://github.com/kmadejski/ezredis
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kmadejski/ezredis
- Owner: kmadejski
- License: gpl-2.0
- Created: 2018-07-17T10:58:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-22T09:34:37.000Z (over 6 years ago)
- Last Synced: 2024-10-19T09:03:42.547Z (8 months ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
- igbinaryCurrently 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
```