Download the PHP package digitalnatives/craft3-illuminate-redis-adapter without Composer
On this page you can find all versions of the php package digitalnatives/craft3-illuminate-redis-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download digitalnatives/craft3-illuminate-redis-adapter
More information about digitalnatives/craft3-illuminate-redis-adapter
Files in digitalnatives/craft3-illuminate-redis-adapter
Download digitalnatives/craft3-illuminate-redis-adapter
More information about digitalnatives/craft3-illuminate-redis-adapter
Files in digitalnatives/craft3-illuminate-redis-adapter
Vendor digitalnatives
Package craft3-illuminate-redis-adapter
Short Description Redis Cache based on Illuminate redis for CraftCMS 3|4
License MIT
Homepage https://digitalnatives.nl
Package craft3-illuminate-redis-adapter
Short Description Redis Cache based on Illuminate redis for CraftCMS 3|4
License MIT
Homepage https://digitalnatives.nl
Please rate this library. Is it a good library?
Informations about the package craft3-illuminate-redis-adapter
craft3-illuminate-redis-adapter
Redis Cache based on Illuminate redis for CraftCMS 3
Installation
You can install this package using composer;
Choose an adapter
PHPredis (recommended)
For best performance we recommend using ext-phpredis
Config
return [
'components' => [
'cache' => [
'class' => DigitalNatives\Cache\Redis::class,
'defaultDuration' => 86400,
'connection' => 'phpredis',
'config' => [
'host' => getenv('REDIS_HOST'),
'port' => (int)getenv('REDIS_PORT'),
'database' => getenv('REDIS_DB'),
'connectTimeout' => 60,
'readTimeout' => 60,
'serializer' => \Redis::SERIALIZER_NONE
],
],
],
];
predis
When installing php extensions is not an option, predis is a very good option.
If you haven't installed predis, install it using composer;
Config
return [
'components' => [
'cache' => [
'class' => DigitalNatives\Cache\Redis::class,
'defaultDuration' => 86400,
'connection' => 'predis',
'params' => [
'host' => getenv('REDIS_HOST'),
'port' => (int)getenv('REDIS_PORT'),
],
'options' => [
['profile' => '5.0']
]
],
],
];All versions of craft3-illuminate-redis-adapter with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2.0
illuminate/redis Version ^8.0 | ^9.0 | ^10 | ^11
illuminate/cache Version ^8.0 | ^9.0 | ^10 | ^11
craftcms/cms Version ^3.0 | ^4.0 | ^5.0
illuminate/redis Version ^8.0 | ^9.0 | ^10 | ^11
illuminate/cache Version ^8.0 | ^9.0 | ^10 | ^11
craftcms/cms Version ^3.0 | ^4.0 | ^5.0
The package digitalnatives/craft3-illuminate-redis-adapter contains the following files
Loading the files please wait ...