Download the PHP package shashandr/laravel-swoole-redis without Composer
On this page you can find all versions of the php package shashandr/laravel-swoole-redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shashandr/laravel-swoole-redis
More information about shashandr/laravel-swoole-redis
Files in shashandr/laravel-swoole-redis
Package laravel-swoole-redis
Short Description Laravel package to provide swoole redis pool integration, Laravel redis pool cache and session driver.
License MIT
Homepage https://github.com/antyblin/laravel-swoole-redis
Informations about the package laravel-swoole-redis
Swoole Redis Pool cache and session driver for Laravel
Default Laravel redis connection may cause errors when running in Swoole coroutines.
This package adds support of Swoole RedisPool as a cache and session driver for Laravel.
This is a fork of antyblin/laravel-swoole-redis
package, original idea belongs to https://github.com/antyblin.
Installation
Step 1:
Install package
Step 2:
Add redis_pool
store to the stores
section in config/cache.php
:
Step 3:
Change your redis driver or session driver to redis_pool
in your .env
file and that is it.
Config
You may add additional parameter 'pool_size'
to the redis section in config/database.php
.
This parameter sets maximum quantity of connections in RedisPool.