GB Redis Setup

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

Compatible with Flarum v1.0.3

Latest release 1.0.1

63 downloads

released on May 31, 2021

Tags

  • cache

  • queue

  • redis

  • session

⚡️ Redis Setup

MIT license Latest Stable Version Total Downloads

A Flarum extension.

Makes it easy to enable/disable Redis features:

  • Cache
  • Queue
  • Sessions

For this to work, environment variables have to be set on your host:

REDIS_HOST=null # Required
REDIS_PORT=6379 # Optional, else uses default
REDIS_PASSWORD=null # Required, can be an empty string
REDIS_DATABASE_CACHE=1 # Optional, else uses default
REDIS_DATABASE_QUEUE=2 # Optional, else uses default
REDIS_DATABASE_SESSION=3 # Optional, else uses default

📥 Installation

composer require glowingblue/redis-setup

♻ Updating

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

🔗 Links

© 2021 Hyn by Daniël "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.