PHPackages                             capgemini/drupal\_doctrine\_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. [Database &amp; ORM](/categories/database)
4. /
5. capgemini/drupal\_doctrine\_cache

ActiveLibrary[Database &amp; ORM](/categories/database)

capgemini/drupal\_doctrine\_cache
=================================

A mechanism for doctrine to cache using Drupal's caching API.

0.0.2(10y ago)83.6k4[1 PRs](https://github.com/Capgemini/drupal-doctrine-cache/pulls)Apache-2.0PHPPHP &gt;=5.4.0

Since Jun 9Pushed 10y ago12 watchersCompare

[ Source](https://github.com/Capgemini/drupal-doctrine-cache)[ Packagist](https://packagist.org/packages/capgemini/drupal_doctrine_cache)[ RSS](/packages/capgemini-drupal-doctrine-cache/feed)WikiDiscussions master Synced 4d ago

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

Drupal Doctrine Cache
=====================

[](#drupal-doctrine-cache)

This repository provides a Doctrine cache that will use the Drupal 6/7 caching API for storage.

It's fairly straightforward to use, just configure your EntityManager with a new instance of the cache.

```
$cache = new \Capgemini\Cache\DrupalDoctrineCache();
$entityManagerConfiguration->setMetaDataCacheImpl($cache);
$entityManagerConfiguration->setQueryCacheImpl($cache);
$entityManagerConfiguration->setResultCacheImpl($cache);

```

By default the cache will use the 'cache' table. You can change this :-

```
$cache->setCacheTable('my_cache_table');

```

Obviously you need to ensure that the table exists and is usable by the Drupal caching API.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.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 ~345 days

Total

2

Last Release

4012d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.3.0

0.0.2PHP &gt;=5.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/758722?v=4)[Iain Potter](/maintainers/iainp999)[@iainp999](https://github.com/iainp999)

![](https://avatars.githubusercontent.com/u/638181?v=4)[Tom Phethean](/maintainers/tsphethean)[@tsphethean](https://github.com/tsphethean)

---

Top Contributors

[![deviantintegral](https://avatars.githubusercontent.com/u/255023?v=4)](https://github.com/deviantintegral "deviantintegral (15 commits)")[![iainp999](https://avatars.githubusercontent.com/u/758722?v=4)](https://github.com/iainp999 "iainp999 (3 commits)")[![tsphethean](https://avatars.githubusercontent.com/u/638181?v=4)](https://github.com/tsphethean "tsphethean (1 commits)")

---

Tags

drupaldoctrinecachecaching

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/capgemini-drupal-doctrine-cache/health.svg)

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

###  Alternatives

[phpfastcache/phpfastcache

PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ravendb, Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.

2.4k5.0M130](/packages/phpfastcache-phpfastcache)[matthiasmullie/scrapbook

Scrapbook is a PHP cache library, with adapters for e.g. Memcached, Redis, Couchbase, APCu, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.

3212.5M32](/packages/matthiasmullie-scrapbook)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[apix/cache

A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache taggging and indexing to Redis, Memcached, PDO/SQL, APC and other adapters.

114542.8k6](/packages/apix-cache)[cache/cache-bundle

Symfony 2 bundle providing integration between PSR-6 compliant cache services and the framework. It supports cache for sessions, routing and Doctrine

43437.0k](/packages/cache-cache-bundle)[cache/doctrine-adapter

A PSR-6 cache implementation using Doctrine. This implementation supports tags

151.0M21](/packages/cache-doctrine-adapter)

PHPackages © 2026

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