Download the PHP package vemcogroup/laravel-redis without Composer
On this page you can find all versions of the php package vemcogroup/laravel-redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vemcogroup/laravel-redis
More information about vemcogroup/laravel-redis
Files in vemcogroup/laravel-redis
Package laravel-redis
Short Description Enhancements to redis driver, such as enabling a serializer and/or compression
License MIT
Homepage https://github.com/vemcogroup/laravel-redis
Informations about the package laravel-redis
Laravel Redis
Description
Enhancements to redis driver, such as enabling a serializer and/or compression
Installation
You can install the package via composer:
Remember to have redis installed with serializer and compression.
Answer yes to serializer and compression.
If you are missing igbinary
If you are missing libzstd
Usage
Start by selection the new driver vredis
in you .env
file:
Compression
To use compression you have to set the type in database.php
for your redis connection:
You can use any of the Redis compressions available from you installation:
Redis::COMPRESSION_NONE
, Redis::COMPRESSION_ZSTD
, Redis::COMPRESSION_LZ4
Serializer
To use serialization you have to set the type in database.php
for your redis connection:
You can use any of the Redis serializers available from you installation:
Redis::SERIALIZER_NONE
, Redis::SERIALIZER_PHP
, Redis::SERIALIZER_IGBINARY
, Redis::SERIALIZER_MSGPACK
, Redis::SERIALIZER_JSON
All versions of laravel-redis with dependencies
illuminate/redis Version ^7.0|^8.0
illuminate/support Version ^7.0|^8.0