PHPackages                             dimafe6/redis-compressed-cache - 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. dimafe6/redis-compressed-cache

ActiveLibrary[Caching](/categories/caching)

dimafe6/redis-compressed-cache
==============================

Laravel cache driver with compression.

v1.0.1(2y ago)315.0k1MITPHPPHP ^8.0.2

Since Nov 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dimafe6/redis-compressed-cache)[ Packagist](https://packagist.org/packages/dimafe6/redis-compressed-cache)[ Docs](https://github.com/dimafe6/redis-compressed-cache)[ RSS](/packages/dimafe6-redis-compressed-cache/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Laravel cache driver with compression.
======================================

[](#laravel-cache-driver-with-compression)

This driver provides ability to compress and decompress Redis data.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require dimafe6/redis-compressed-cache
```

You can publish the config file with:

```
php artisan vendor:publish --tag="redis-compressed-cache-config"
```

This is the contents of the published config file:

```
return [
    'prefix'          => config('cache.prefix'),
    'connection'      => env('REDIS_COMPRESSED_CACHE_CONNECTION', 'cache'),
    'lock_connection' => env('REDIS_COMPRESSED_CACHE_LOCK_CONNECTION', 'default'),
    'enabled'         => env('REDIS_COMPRESSED_CACHE_ENABLED', true),
];
```

Usage
-----

[](#usage)

Add the `redis-compressed` custom driver to the `redis` store config in `config/cache.php`:

```
'redis' => [
    'driver'          => 'redis-compressed',
    'connection'      => 'cache',
    'lock_connection' => 'default',
]
```

Or create a new store:

```
'redis-compressed' => [
    'driver'          => 'redis-compressed',
]
```

Credits
-------

[](#credits)

- [Dmytro Feshchenko](https://github.com/dimafe6)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

798d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13642249?v=4)[Dmytro Feshchenko](/maintainers/dimafe6)[@dimafe6](https://github.com/dimafe6)

---

Top Contributors

[![dimafe6](https://avatars.githubusercontent.com/u/13642249?v=4)](https://github.com/dimafe6 "dimafe6 (2 commits)")

---

Tags

laravelrediscachedimafe6redis-compressed-cache

### Embed Badge

![Health badge](/badges/dimafe6-redis-compressed-cache/health.svg)

```
[![Health](https://phpackages.com/badges/dimafe6-redis-compressed-cache/health.svg)](https://phpackages.com/packages/dimafe6-redis-compressed-cache)
```

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975163.6k2](/packages/awssat-laravel-visits)[vink/nova-cache-card

Manage your application's cache from a handy Laravel Nova dashboard card.

26317.3k1](/packages/vink-nova-cache-card)[byerikas/cache-tags

Allows for Redis/Valkey cache flushing multiple tagged items by a single tag.

1413.9k](/packages/byerikas-cache-tags)

PHPackages © 2026

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