PHPackages                             glowingblue/redis-setup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. glowingblue/redis-setup

ActiveFlarum-extension[Caching](/categories/caching)

glowingblue/redis-setup
=======================

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

1.3.2(2mo ago)425.8k↓26.7%[1 issues](https://github.com/glowingblue/flarum-ext-redis-setup/issues)MITPHPPHP ^8.1CI passing

Since May 31Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/glowingblue/flarum-ext-redis-setup)[ Packagist](https://packagist.org/packages/glowingblue/redis-setup)[ Docs](https://glowingblue.com)[ RSS](/packages/glowingblue-redis-setup/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (8)Dependencies (8)Versions (14)Used By (0)

⚡️ Redis Setup
==============

[](#️-redis-setup)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/glowingblue/flarum-ext-redis-setup/blob/master/LICENSE.md)[![Latest Stable Version](https://camo.githubusercontent.com/3fef8e886b4e17391dc9fd5ded6f0cfce66561376722d1678fb05295f46ced01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676c6f77696e67626c75652f72656469732d73657475702e737667)](https://packagist.org/packages/glowingblue/redis-setup)[![Total Downloads](https://camo.githubusercontent.com/3066ce9e4ad4aaf1c310cf8720aa769e44503d7dfe7680dd381973c66129d54e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676c6f77696e67626c75652f72656469732d73657475702e737667)](https://packagist.org/packages/glowingblue/redis-setup)

A [Flarum](http://flarum.org) 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
--------------

[](#-installation)

```
composer require glowingblue/redis-setup
```

♻ Updating
----------

[](#-updating)

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

Compatibility with `fof/redis`
------------------------------

[](#compatibility-with-fofredis)

This extension depends on [`fof/redis`](https://github.com/FriendsOfFlarum/redis) and deliberately disables the **`settings` service** that `fof/redis` ≥ 1.1 provides.

`fof/redis`'s settings service replaces Flarum's `SettingsRepositoryInterface` with a Redis-backed caching layer. However, this extension reads settings (e.g. which Redis services to enable) during its own boot sequence — *before* Redis is fully wired into the container. Enabling the Redis settings cache here would create a circular dependency: configuring Redis requires reading settings, but reading settings requires Redis.

The `settings` service from `fof/redis` is therefore always disabled in this extension's extender. If you want Redis-backed settings caching, configure `fof/redis` directly in your project's root `extend.php` instead of using this extension.

🔗 Links
-------

[](#-links)

- [Flarum Discuss post](https://discuss.flarum.org/d/27455)
- [Source code on GitHub](https://github.com/glowingblue/flarum-ext-redis-setup)
- [Report an issue](https://github.com/glowingblue/flarum-ext-redis-setup/issues)
- [Download via Packagist](https://packagist.org/packages/glowingblue/redis-setup)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance80

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~158 days

Recently: every ~190 days

Total

12

Last Release

76d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16573496?v=4)[IanM](/maintainers/imorland)[@imorland](https://github.com/imorland)

![](https://avatars.githubusercontent.com/u/86727437?v=4)[Glowing Blue AG](/maintainers/glowingblue)[@glowingblue](https://github.com/glowingblue)

---

Top Contributors

[![iPurpl3x](https://avatars.githubusercontent.com/u/18526076?v=4)](https://github.com/iPurpl3x "iPurpl3x (17 commits)")[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (11 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (8 commits)")[![DavideIadeluca](https://avatars.githubusercontent.com/u/146922689?v=4)](https://github.com/DavideIadeluca "DavideIadeluca (6 commits)")

---

Tags

rediscachequeuesessionflarum

### Embed Badge

![Health badge](/badges/glowingblue-redis-setup/health.svg)

```
[![Health](https://phpackages.com/badges/glowingblue-redis-setup/health.svg)](https://phpackages.com/packages/glowingblue-redis-setup)
```

###  Alternatives

[ihor/cachalot

Cache a lot in a proper way (APC, XCache, Memcached, Redis, Couchbase)

2528.1k](/packages/ihor-cachalot)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
