PHPackages                             cakedc/cakephp-compress-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. cakedc/cakephp-compress-cache

ActiveCakephp-plugin[Caching](/categories/caching)

cakedc/cakephp-compress-cache
=============================

CompressCache plugin for CakePHP

2.0.0(8mo ago)00MITPHPPHP &gt;=8.1.0,&lt;9CI passing

Since Sep 5Pushed 8mo agoCompare

[ Source](https://github.com/CakeDC/cakephp-compress-cache)[ Packagist](https://packagist.org/packages/cakedc/cakephp-compress-cache)[ Docs](https://github.com/CakeDC/cakephp-compress-cache)[ RSS](/packages/cakedc-cakephp-compress-cache/feed)WikiDiscussions 1.next-cake4 Synced 1mo ago

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

CakeDC Compress Cache Plugin for CakePHP
========================================

[](#cakedc-compress-cache-plugin-for-cakephp)

Versions and branches
---------------------

[](#versions-and-branches)

CakePHPCakeDC Compress Cache PluginTagNotes^5.0[2.0.0](https://github.com/CakeDC/cakephp-compress-cache/tree/2.next-cake5)2.0.0stable^4.5[1.0.0](https://github.com/CakeDC/cakephp-compress-cache/tree/1.next-cake4)1.0.0stableOverview
--------

[](#overview)

The CakeDC Compress Cache Plugin adds the ability to compress the content of the cache.

Requirements
------------

[](#requirements)

- CakePHP 4.5
- PHP 8.1+

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer package is:

```
composer require cakedc/cakephp-compress-cache

```

Next, load the plugin by running the following command:

```
bin/cake plugin load CakeDC/CompressCache
```

Configuration
-------------

[](#configuration)

To configure the cache to use the Compressed Cache Engine, create a configuration similar to the one below in your `config/app.php` file. Include the configuration for your target cache engine in the wrapped key.

```
// ...
    'Cache' => [
        // ...

        'your_cache_configuration' => [
            'className' => \CakeDC\CompressCache\Cache\Engine\CompressEngine::class,
            'wrapped' => [
                'className' => \Cake\Cache\Engine\FileEngine::class,
                'prefix' => 'myapp_your_cache_configuration_',
                'path' => CACHE ,
                'serialize' => true,
                'duration' => '+1 years',
                'url' => env('CACHE_YOUR_CACHE_CONFIGURATION_URL', null),
            ],
            'duration' => '+24 hours',
        ],

        // ...
    ],
// ...
```

The Compressed Cache Engine will compress data before storing it in the cache and decompress it when reading it from the cache.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

253d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/204531?v=4)[Cake Development Corporation](/maintainers/CakeDC)[@CakeDC](https://github.com/CakeDC)

---

Top Contributors

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

---

Tags

cakephpcachecompresscompress cache

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cakedc-cakephp-compress-cache/health.svg)

```
[![Health](https://phpackages.com/badges/cakedc-cakephp-compress-cache/health.svg)](https://phpackages.com/packages/cakedc-cakephp-compress-cache)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)[anahkiasen/flatten

A package for the Illuminate framework that flattens pages to plain HTML

33313.0k](/packages/anahkiasen-flatten)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23817.0k1](/packages/rtcamp-nginx-helper)

PHPackages © 2026

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