PHPackages                             jsq/doctrine-cache-encrypter-bundle - 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. jsq/doctrine-cache-encrypter-bundle

AbandonedArchivedLibrary

jsq/doctrine-cache-encrypter-bundle
===================================

A bundle to manage encryption for your doctrine caches

0.3.0(10y ago)019Apache-2.0PHPPHP &gt;=5.5

Since Jan 27Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jeskew/doctrine-cache-encrypter-bundle)[ Packagist](https://packagist.org/packages/jsq/doctrine-cache-encrypter-bundle)[ RSS](/packages/jsq-doctrine-cache-encrypter-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

Doctrine Cache Encrypter Bundle
===============================

[](#doctrine-cache-encrypter-bundle)

[![Build Status](https://camo.githubusercontent.com/43591fcacd77c1848e7a9222cfb4a757896eb265b98867bb6f27f58efb48aaf7/68747470733a2f2f7472617669732d63692e6f72672f6a65736b65772f646f637472696e652d63616368652d656e637279707465722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jeskew/doctrine-cache-encrypter-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/feba6713ce92f45069ff3bbcde2f15d5dd4cdde203ba0d2f513f411ef8381d81/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a65736b65772f646f637472696e652d63616368652d656e637279707465722d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jeskew/doctrine-cache-encrypter-bundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/3a09e9eb9b8d203cbd21682cb7781616f458e2b758a70efda57d7c4d9821357d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a65736b65772f646f637472696e652d63616368652d656e637279707465722d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jeskew/doctrine-cache-encrypter-bundle/?branch=master)[![Apache 2 License](https://camo.githubusercontent.com/cc95b1291a785ead089a6116cb52bf74542b33ae9717f6ecde50c1248cb42cea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a73712f646f637472696e652d63616368652d656e637279707465722d62756e646c652e7376673f7374796c653d666c6174)](https://www.apache.org/licenses/LICENSE-2.0.html)[![Total Downloads](https://camo.githubusercontent.com/f2041b92e937260d254afd79a1fc0aef5a60e6783837875876adc6a285d7b4f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a73712f646f637472696e652d63616368652d656e637279707465722d62756e646c652e7376673f7374796c653d666c6174)](https://packagist.org/packages/jsq/doctrine-cache-encrypter-bundle)[![Author](https://camo.githubusercontent.com/297a2017c3c5d5b0f717bf17f2713cd12b5ba24945e861cf9af88e37d6bf50ce/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406a7265736b65772d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/jreskew)

The purpose of this bundle is to provide a thin wrapper around the [Doctrine Cache Encrypter](https://github.com/jeskew/doctrine-cache-encrypter) to make it work more seamlessly with the Symfony framework. This bundle will allow you to create an encrypted cache service from a regular Doctrine Cache service by tagging it.

Usage
-----

[](#usage)

Any service that is an instance of `Doctrine\Common\Cache\Cache` can be tagged with the `cache.encrypted` tag to create an additional service that will encrypt values either with a password or against an array of public keys.

Sample configuration can be found in the `tests/fixtures` folder for [YAML](https://github.com/jeskew/doctrine-cache-encrypter-bundle/blob/master/tests/fixtures/config.yml), [PHP](https://github.com/jeskew/doctrine-cache-encrypter-bundle/blob/master/tests/fixtures/config.php), and [XML](https://github.com/jeskew/doctrine-cache-encrypter-bundle/blob/master/tests/fixtures/config.xml).

To use a service for any configuration value, use `@` followed by the service name, such as `@a_service`. This syntax will be converted to a service during container compilation. If you want to use a string literal that begins with `@`, you will need to escape it by adding another `@` sign.

Please note that you will need to pass in an array of public keys, not just a single one, as that encrypter is designed to work across multiple servers, each with its own key pair. As Symfony DI tags can only be string values, you will need to use a service (with `@service` notation) that returns an array.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76a37eaa8fb7a04df094d25e1b53a908621faa9961da919f50c1c6c762ffbdfe?d=identicon)[jeskew](/maintainers/jeskew)

---

Top Contributors

[![jeskew](https://avatars.githubusercontent.com/u/705500?v=4)](https://github.com/jeskew "jeskew (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jsq-doctrine-cache-encrypter-bundle/health.svg)

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

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)

PHPackages © 2026

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