PHPackages                             trt/doctrine-encrypted-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. trt/doctrine-encrypted-cache

ActiveLibrary[Caching](/categories/caching)

trt/doctrine-encrypted-cache
============================

Doctrine Encrypted Cache Drivers

v0.2(10y ago)01.6k1MITPHP

Since Dec 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/toretto460/doctrine-encoded-cache)[ Packagist](https://packagist.org/packages/trt/doctrine-encrypted-cache)[ RSS](/packages/trt-doctrine-encrypted-cache/feed)WikiDiscussions master Synced 1mo ago

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

Doctrine Encrypted Cache Decorator
==================================

[](#doctrine-encrypted-cache-decorator)

Sometimes for security constraints may not be possible to store plain data to the web server or cache server. This library allows to encode / decode doctrine cached data.

Usage
-----

[](#usage)

```
$doctrineCache = new \Doctrine\Common\Cache\ApcCache();

$encodedCache = new \Trt\Doctrine\Cache\Provider\CacheProviderDecorator(
    $doctrineCache,
    new \Trt\Doctrine\Cache\Encryptor\Encryptor('my_key')
);

$encodedCache->save('id', .... );

$encodedCache->fetch('id');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

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

Total

2

Last Release

3937d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97e5b23c6d1b7bd92d3ab1b3219515ab17cb504562b76e8694be6238470b87c1?d=identicon)[toretto460](/maintainers/toretto460)

---

Top Contributors

[![simodima](https://avatars.githubusercontent.com/u/1193857?v=4)](https://github.com/simodima "simodima (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/trt-doctrine-encrypted-cache/health.svg)

```
[![Health](https://phpackages.com/badges/trt-doctrine-encrypted-cache/health.svg)](https://phpackages.com/packages/trt-doctrine-encrypted-cache)
```

###  Alternatives

[cache/cache

Library of all the php-cache adapters

2712.7M22](/packages/cache-cache)[roave/doctrine-simplecache

Doctrine Cache adapter for PSR-16 Simple Cache

551.3M1](/packages/roave-doctrine-simplecache)[chh/cache-service-provider

Provides easy to use caching for Silex applications, built on top of the doctrine/cache package

23163.0k1](/packages/chh-cache-service-provider)[tbbc/cache-bundle

Symfony Bundle - Cache abstraction and method annotations for controlling cache

3613.1k](/packages/tbbc-cache-bundle)

PHPackages © 2026

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