PHPackages                             treehouselabs/cache-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. [Caching](/categories/caching)
4. /
5. treehouselabs/cache-bundle

Abandoned → [cache/cache-bundle](/?search=cache%2Fcache-bundle)Symfony-bundle[Caching](/categories/caching)

treehouselabs/cache-bundle
==========================

Symfony2 bundle that provides easy setup for caching, including a powerful ORM cache \[DEPRECATED\]

v1.3.0(10y ago)061.9k1MITPHPPHP &gt;=5.5

Since May 20Pushed 10y ago6 watchersCompare

[ Source](https://github.com/treehouselabs/cache-bundle)[ Packagist](https://packagist.org/packages/treehouselabs/cache-bundle)[ RSS](/packages/treehouselabs-cache-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (9)Dependencies (5)Versions (11)Used By (0)

> This package is DEPRECATED use a PSR-6 solution like

Cache bundle
============

[](#cache-bundle)

[![Latest Version on Packagist](https://camo.githubusercontent.com/41dac81ae2a633ddc0648918f962e43c971d5f8bf33f0720c305df36a67ded97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74726565686f7573656c6162732f63616368652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/treehouselabs/cache-bundle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ddaa77675a317950d1863126c39a87ff5ae0033e88fad27e95d9a42127cb482b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f74726565686f7573656c6162732f63616368652d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/treehouselabs/cache-bundle)[![Coverage Status](https://camo.githubusercontent.com/bb7d2e11936f810b3c92d2706bcb7578f6f7422a80da92fe2bd94341381dc02c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74726565686f7573656c6162732f63616368652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/treehouselabs/cache-bundle/code-structure)[![Quality Score](https://camo.githubusercontent.com/7919ecc06d22167c9504a6f01b8721735b2076bca0d881496b6da76f28a7f295/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74726565686f7573656c6162732f63616368652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/treehouselabs/cache-bundle)

Symfony bundle for our [cache client](https://github.com/treehouselabs/cache).

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

[](#installation)

```
composer require treehouselabs/cache-bundle:^1.0
```

Usage
-----

[](#usage)

This configuration:

```
tree_house_cache:
  clients:
    default:
      type: phpredis
      serializer: json
      dsn: redis://localhost
      prefix: "cache:"
```

creates a `tree_house_cache.client.default` service, which resolves to a [CacheInterface](https://github.com/treehouselabs/cache/blob/master/src/TreeHouse/Cache/CacheInterface.php) instance.

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Acknowledgements
----------------

[](#acknowledgements)

Some concepts and/or implementations are borrowed from [SncRedisBundle](https://github.com/snc/SncRedisBundle)

Credits
-------

[](#credits)

- [Peter Kruithof](https://github.com/treehouselabs)
- [All Contributors](../../contributors)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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 ~85 days

Recently: every ~61 days

Total

9

Last Release

3700d ago

Major Versions

v0.2.0 → v1.0.02015-09-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/49e70c4936c5121b835d48680dcf4bb57d21724c533dd99591e80101e4a25dd6?d=identicon)[pkruithof](/maintainers/pkruithof)

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

---

Top Contributors

[![pkruithof](https://avatars.githubusercontent.com/u/330828?v=4)](https://github.com/pkruithof "pkruithof (37 commits)")[![mvanduijker](https://avatars.githubusercontent.com/u/1771206?v=4)](https://github.com/mvanduijker "mvanduijker (1 commits)")

---

Tags

cache

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/treehouselabs-cache-bundle/health.svg)

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

###  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)
