New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

um-flint/laravel-multi-tenant-redis

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

Larablocks Analysis

um-flint/laravel-multi-tenant-redis works with Laravel 5 (latest release v0.0.2, Feb 2, 2017), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Feb 2, 2017)
  • 2 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Feb 2, 2017.
  • No releases in the last 12 months.
  • First released: Feb 2, 2017.
  • Monthly downloads: 2.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.

Install
composer require um-flint/laravel-multi-tenant-redis
Latest Version:v0.0.2
Laravel:5
License:MIT
Last Updated:Feb 2, 2017
Links: GitHub  ·  Packagist
Maintainer: dowilcox

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

Add to your composer.json file

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

Register the package

In config/app.php add the service provider.

UMFlint\Cache\MultiTenantRedisServiceProvider::class,
Update config/cache.php
...
'stores' => [
        ...
        
        'multi-tenant-redis' => [
            'driver'     => 'multi-tenant-redis',
            'connection' => 'default',
        ],
    ],
...

Related Packages

namoshek/laravel-redis-sentinel

An extension of Laravels Redis driver which supports connecting to a Redis maste...

1,174,009 40
mmeyer2k/redistree

A clean Redis web interface for Laravel 5

631,058 9
vetruvet/laravel-phpredis

Use phpredis as the redis connection in Laravel

132,199 43
huangdijia/laravel-redis-ide-helper

Redis ide-helper for Laravel.

54,342 12
encore/redis-manager

Redis manager for laravel

43,237 247

Version History

Version Released Laravel License
v0.0.2 5.1.* || 5.2.* || 5.3.* MIT
v0.0.1 5.1.* || 5.2.* || 5.3.* MIT