GB Redis Setup

GB Redis Setup glowingblue/redis-setup

Makes it easy to enable/disable Redis features: Cache, Queue & Sessions

⚡️ Redis Setup

MIT license Latest Stable Version Total Downloads

A Flarum extension.

Makes it easy to enable/disable Redis features:

  • Cache
  • Queue
  • Sessions

If you are using a local redis setup, you will likely be able to simply use the defaults provided. Any of these can be overridden using environment variables as follows:

REDIS_HOST='127.0.0.1 # Optional, else uses default
REDIS_PORT=6379 # Optional, else uses default
REDIS_PASSWORD=null # Optional, otherwise null
REDIS_DATABASE_CACHE=1 # Optional, else uses default
REDIS_DATABASE_QUEUE=2 # Optional, else uses default
REDIS_DATABASE_SESSION=3 # Optional, else uses default
REDIS_PREFIX='flarum_' # Optional, else uses default

📥 Installation

composer require glowingblue/redis-setup

♻ Updating

composer update glowingblue/redis-setup
php flarum cache:clear

🔗 Links

Versions

  • Version 1.2.2.

    Likely works with Flarum v1.8.9.

  • 7 additional versions.
  • Extension created.