PHPackages                             um-flint/laravel-multi-tenant-redis - 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. um-flint/laravel-multi-tenant-redis

ActivePackage[Caching](/categories/caching)

um-flint/laravel-multi-tenant-redis
===================================

Laravel package to allow for a better "cache:clear".

v0.0.2(9y ago)0552MITPHP

Since Feb 2Pushed 9y ago4 watchersCompare

[ Source](https://github.com/um-flint/laravel-multi-tenant-redis)[ Packagist](https://packagist.org/packages/um-flint/laravel-multi-tenant-redis)[ RSS](/packages/um-flint-laravel-multi-tenant-redis/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Laravel Multi Tenant Redis
==========================

[](#laravel-multi-tenant-redis)

By default Laravel's Redis cache store will empty the entire Redis database when running `php artisan cache:clear`. This can be a problem when you are running multiple applications on the same Redis instance. Laravel's "fix" for this is to change the Redis database for each application. This really isn't a solution as using different Redis databases aren't really recommended.

That is where this package comes in. It is a drop in replacement for the Redis cache store. It keeps track of the keys added to cache so that only the keys for the application will be deleted on a cache flush.

Before installing it would be a good idea to clear the application cache.

### Installation

[](#installation)

Add to your composer.json file

```
"um-flint/laravel-multi-tenant-redis": "0.0.*"
```

### Register the package

[](#register-the-package)

In config/app.php add the service provider.

```
UMFlint\Cache\MultiTenantRedisServiceProvider::class,
```

#### Update config/cache.php

[](#update-configcachephp)

```
...
'stores' => [
        ...

        'multi-tenant-redis' => [
            'driver'     => 'multi-tenant-redis',
            'connection' => 'default',
        ],
    ],
...
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~0 days

Total

2

Last Release

3436d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1311943?v=4)[Donald](/maintainers/dowilcox)[@dowilcox](https://github.com/dowilcox)

---

Top Contributors

[![dowilcox](https://avatars.githubusercontent.com/u/1311943?v=4)](https://github.com/dowilcox "dowilcox (15 commits)")

---

Tags

laravelredis

### Embed Badge

![Health badge](/badges/um-flint-laravel-multi-tenant-redis/health.svg)

```
[![Health](https://phpackages.com/badges/um-flint-laravel-multi-tenant-redis/health.svg)](https://phpackages.com/packages/um-flint-laravel-multi-tenant-redis)
```

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k9.0M68](/packages/spatie-laravel-responsecache)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M94](/packages/mongodb-laravel-mongodb)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M129](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M127](/packages/roots-acorn)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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