PHPackages                             ehann/laravel-redis-store - 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. ehann/laravel-redis-store

ActiveLibrary[Caching](/categories/caching)

ehann/laravel-redis-store
=========================

Adds functionality to the built-in Cache's RedisStore.

0.2.1(8y ago)1213.5k4MITPHP

Since Jan 15Pushed 8y ago2 watchersCompare

[ Source](https://github.com/ethanhann/Laravel-RedisStore)[ Packagist](https://packagist.org/packages/ehann/laravel-redis-store)[ RSS](/packages/ehann-laravel-redis-store/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

### Why is this useful?

[](#why-is-this-useful)

The RedisStore that comes with the Laravel Cache does not compress string values out of the box. The RedisStore in this package does. Caching string values can save a ton of memory and/or network bandwidth depending on cached item size and request frequency.

### How do I use it?

[](#how-do-i-use-it)

Install the package...

```
composer require ehann/laravel-redis-store
```

Add a [custom cache driver](https://laravel.com/docs/5.3/cache#adding-custom-cache-drivers), like this...

```
public function boot()
{
    Cache::extend('ehann-redis', function ($app) {
        return Cache::repository(new \Ehann\Cache\RedisStore(
            $app['redis'],
            $app['config']['cache.prefix'],
            $app['config']['cache.stores.redis.connection']
        ));
    });
}
```

Add the **ehann-redis** custom driver to the redis store config in config/cache.php...

```
'stores' => [
    'redis' => [
        'driver' => 'ehann-redis',
    ],
],
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% 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 ~84 days

Total

3

Last Release

3282d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/402597?v=4)[Ethan Hann](/maintainers/ethanhann)[@ethanhann](https://github.com/ethanhann)

---

Top Contributors

[![ethanhann](https://avatars.githubusercontent.com/u/402597?v=4)](https://github.com/ethanhann "ethanhann (13 commits)")[![Dylan-DPC](https://avatars.githubusercontent.com/u/99973273?v=4)](https://github.com/Dylan-DPC "Dylan-DPC (1 commits)")

---

Tags

cachelaravellaravel-5-packageredisredis-store

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ehann-laravel-redis-store/health.svg)

```
[![Health](https://phpackages.com/badges/ehann-laravel-redis-store/health.svg)](https://phpackages.com/packages/ehann-laravel-redis-store)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)[laravel-enso/rememberable

Model caching dependency for Laravel Enso

2864.4k41](/packages/laravel-enso-rememberable)[justbetter/laravel-unique-values

Package to generate unique values with support for concurrency utilizing cache locking

535.6k](/packages/justbetter-laravel-unique-values)

PHPackages © 2026

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