PHPackages                             lavoiesl/doctrine-cache-detector - 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. lavoiesl/doctrine-cache-detector

AbandonedArchivedLibrary[Caching](/categories/caching)

lavoiesl/doctrine-cache-detector
================================

Library to detect which Doctrine Cache system is available and determine the best to use.

v2.0(12y ago)090MITPHP

Since Aug 26Pushed 12y agoCompare

[ Source](https://github.com/lavoiesl/doctrine-cache-detector)[ Packagist](https://packagist.org/packages/lavoiesl/doctrine-cache-detector)[ RSS](/packages/lavoiesl-doctrine-cache-detector/feed)WikiDiscussions master Synced 3d ago

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

Doctrine Cache Dectector
========================

[](#doctrine-cache-dectector)

Detects all available cache layers using Doctrine\\Common\\Cache

Also contains some performance data to select the best available Cache system.

This can be useful for varying development environments.

Usage
-----

[](#usage)

### List all supported caches

[](#list-all-supported-caches)

```

```

### Provide connection options

[](#provide-connection-options)

Provide options for the detector, see each detector for details.

```

```

### Select best cache system

[](#select-best-cache-system)

This will automatically select the most performant cache system with a requirement on the persistance level.

On a local machine, ArrayCache will suffice. On a production environment, you may want to require a distributed one.

```

```

Todo
----

[](#todo)

- Add support for MongoDB, Couchbase and Riak.
- Add better data for performance

Author
------

[](#author)

- [Sébastien Lavoie](http://blog.lavoie.sl/)
- [WeMakeCustom](http://www.wemakecustom.com/)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

4467d ago

Major Versions

v1.1 → v2.02014-04-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec3a0e0db3f9c250563b821407537b24bd3304c8bb3379c017d8ca4743b7b15c?d=identicon)[lavoiesl](/maintainers/lavoiesl)

---

Top Contributors

[![lavoiesl](https://avatars.githubusercontent.com/u/1216046?v=4)](https://github.com/lavoiesl "lavoiesl (9 commits)")

### Embed Badge

![Health badge](/badges/lavoiesl-doctrine-cache-detector/health.svg)

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

###  Alternatives

[cache/cache

Library of all the php-cache adapters

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

Doctrine Cache adapter for PSR-16 Simple Cache

551.4M1](/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.8k1](/packages/chh-cache-service-provider)[contao-community-alliance/dc-general

Universal data container for Contao

1579.5k91](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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