PHPackages                             scribe/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. scribe/cache-bundle

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

scribe/cache-bundle
===================

Simple, robust, and extensible caching abstraction layer with support for custom backends through Symfony compiler tag registration and a central manager implementation. Implementations are provided for the following handlers.

v1.1.1(11y ago)0816MITPHP

Since Dec 6Pushed 10y ago3 watchersCompare

[ Source](https://github.com/src-run/teavee-object-cache-bundle)[ Packagist](https://packagist.org/packages/scribe/cache-bundle)[ Docs](https://github.com/scribenet/ScribeCacheBundle)[ RSS](/packages/scribe-cache-bundle/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (2)Versions (9)Used By (0)

\[scr-be\] teavee-object-cache-bundle
=====================================

[](#scr-be-teavee-object-cache-bundle)

Continuous IntegrationCode Quality ReviewUnitTest Coverage[![Travis](https://camo.githubusercontent.com/0726dafc28cb29efc4e2b07ee8e1364e218ebaaf8dac29527b49dda7ffdba4a8/68747470733a2f2f7363722e62652f7465617665652d6f626a6563742d63616368652d62756e646c652f7472617669735f736869656c64)](https://scr.be/teavee-object-cache-bundle/travis)[![Codacy](https://camo.githubusercontent.com/0101f17641722919f89badcdc3f2e23fd5974ef772c4bd31958a2d33643364ba/68747470733a2f2f7363722e62652f7465617665652d6f626a6563742d63616368652d62756e646c652f636f646163795f736869656c64)](https://scr.be/teavee-object-cache-bundle/codacy)[![Coveralls](https://camo.githubusercontent.com/ceba6bcb1ea7f8eb1e3c0d649806ffdefd98780303ed1aa4729703d32ed801a8/68747470733a2f2f7363722e62652f7465617665652d6f626a6563742d63616368652d62756e646c652f636f766572616c6c735f736869656c64)](https://scr.be/teavee-object-cache-bundle/coveralls)Overview
--------

[](#overview)

[Welcome](https://scr.be/go/readme_welcome)! The `scr-be/teavee-object-cache-bundle` package provides a simple, robust, and extensible cache abstraction layer, with support for custom backends through Symfony service tag registration.

Implementations are provided for the following cache handlers.

- Memcached (requires the *memcached* extension)
- Mock (provides an always-true, fake handler)
- Redis (requires the *redis* extension)

### Grouping

[](#grouping)

This package is part of the [teavee](https://scr.be/teavee-object-cache-bundle/group)group ([explanation](https://scr.be/teavee-object-cache-bundle/group_explanation)), comprised of other releases with a concentration in *media, HTML, content, generator*, and related functionality.

### JTT

[](#jtt)

This package represents a single project within a [large collection](https://scr.be/go/explore) of open-source code released under the *Scribe* namespace, comprised of framework-agnostic libraries, and a number of Symfony bundles. These projects are authored and maintained by [Rob Frawley 2nd](https://scr.be/rmf) and [collaborators](https://scr.be/teavee-object-cache-bundle/github_collaborators), often with the support of [Scribe Inc](https://scr.be/go/scribe-home).

Quick Start
-----------

[](#quick-start)

### Installation

[](#installation)

Get the code by requiring it explicitly via the [Composer](https://getcomposer.com)CLI, or by editing your *composer.json* to reflect the dependency and updating your project requirements. For example, to explicitly require this project using the CLI, use the following command.

```
$ composer require scr-be/teavee-object-cache-bundle
```

To enable the bundle, register it with your Symfony application kernel by instantiating *ScribeTeaveeObjectCacheBundle* within the bundle array.

```
// app/AppKernel.php
class AppKernel extends Kernel {
    public function registerBundles() {
        $bundles = [
            // ...
            new Scribe\Teavee\ObjectCacheBundle\ScribeTeaveeObjectCacheBundle(),
        ];
        // ...
    }
}
```

### Configuration

[](#configuration)

Available configuration values can be referenced by using the Symfony console command `app/console` (assuming the Symfony full-stack framework and bundle registration). Additionally, this bundle provides a bare console executable that can be invoked by calling the following.

```
bin/teavee-object-cache config:dump-reference scribe_teavee_object_cache
```

Reference
---------

[](#reference)

### API Docs

[](#api-docs)

This package's API-documentation is available at [scr.be/teavee-object-cache-bundle/api](https://scr.be/teavee-object-cache-bundle/api), (as well as linked below via the *Reference* badge found under the *Additional Links*header). All API-reference is build against the *master* Git branch and updated automatically on each Git push---api-reference for *specific releases* will be provided once this package has matured.

> The entire API-reference website is auto-generated using a quick, reliable, and well-developed CLI tool called [Sami](https://scr.be/go/sami). It is rigerously and regularly tested through its use in large, complex projects, such as the [Symfony Full-Stack Framework](https://scr.be/go/symfony)&lt;see: [scr.be/go/api-ref-symfony](https://scr.be/go/symfony-api)&gt;, as well as its use in smaller projects such [Twig](https://scr.be/go/sami-twig)&lt;see: [scr.be/go/api-ref-twig](https://scr.be/go/twig-api)&gt;. Reference Sami's [GitHub page](https://scr.be/go/sami) to learn how to use it with your own projects!

### Examples/Tutorials

[](#examplestutorials)

Currently, there is no *"human-written"* documentation---outside of this README. Pending package stability and available resources, a [RTD (Read the Docs)](https://scr.be/go/rtd) page will be published with additional information and tutorials, including real use-cases within the Symfony Framework.

Contributing
------------

[](#contributing)

### Discussion

[](#discussion)

For general inquiries or to discuss a broad topic or idea, you can find *robfrawley* on Freenode. There is also a *\#scribe* channel, which can be joined using the following link irc.choopa.net:6669/scribe.

### Issues

[](#issues)

To report issues or request a new feature use [GitHub](https://scr.be/teavee-object-cache-bundle/github_issues)or [GitLab](https://scr.be/teavee-object-cache-bundle/gitlab_issues)to start a discussion. Include as much information as possible to aid in a quick resolution. Feel free to "ping" the topic if you don't get a response within a few days.

### Code

[](#code)

You created additional functionality during the use of this package? Send it back upstream! *Don't hesitate to submit a pull request!* Beyond the brief requirements outlined in the [contibuting guide](https://scr.be/teavee-object-cache-bundle/contributing), your [imagination](https://scr.be/go/readme_imagination)represents the only limitation.

License
-------

[](#license)

This project is licensed under the [MIT License](https://scr.be/go/mit), an [FSF](https://scr.be/go/fsf)-/[OSI](https://scr.be/go/osi)-approved and [GPL](https://scr.be/go/gpl)-compatible, permissive free software license. Review the [LICENSE](https://scr.be/teavee-object-cache-bundle/license)file distributed with this source code for additional information.

Additional Links
----------------

[](#additional-links)

PurposeStatus*Stable Release*[![Packagist](https://camo.githubusercontent.com/5896ebf014bb986c29bc0800170ac948702b2a287145d9826b139dfad5c64cb7/68747470733a2f2f7363722e62652f7465617665652d6f626a6563742d63616368652d62756e646c652f7061636b61676973745f736869656c64)](https://scr.be/teavee-object-cache-bundle/packagist)*Dev Release*[![Packagist](https://camo.githubusercontent.com/1a45018d30c35a87924aa0c2721fe3dbe9d537db5b8ffc741ea979ae2a76b82c/68747470733a2f2f7363722e62652f7465617665652d6f626a6563742d63616368652d62756e646c652f7061636b61676973745f7072655f736869656c64)](https://scr.be/teavee-object-cache-bundle/packagist)*License*[![License](https://camo.githubusercontent.com/0847b97ef5f8719785bf4718ac9b7bb4320d2e3b60e1008d9e590f6b7dc84e86/68747470733a2f2f7363722e62652f7465617665652d6f626a6563742d63616368652d62756e646c652f6c6963656e73655f736869656c64)](https://scr.be/teavee-object-cache-bundle/license)*Reference*[![License](https://camo.githubusercontent.com/d50570effeee23e22a00b1c53765f04665babab0056a0ec1c359842302b61756/68747470733a2f2f7363722e62652f7465617665652d6f626a6563742d63616368652d62756e646c652f6170695f736869656c64)](https://scr.be/teavee-object-cache-bundle/api)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

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

Recently: every ~184 days

Total

8

Last Release

3807d ago

Major Versions

v1.1.1 → 2.1.x-dev2015-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/58cf83f3ed29f210aa52fec443014572688d7c948aeac0cfdb8ccf216a3f437b?d=identicon)[robfrawley](/maintainers/robfrawley)

---

Top Contributors

[![robfrawley](https://avatars.githubusercontent.com/u/3967713?v=4)](https://github.com/robfrawley "robfrawley (30 commits)")

---

Tags

Symfony2cacheapcuapcuserland cache

### Embed Badge

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

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

###  Alternatives

[gordalina/cachetool

Manage your OPcache &amp; APCu cache through the CLI

1.8k3.7M5](/packages/gordalina-cachetool)[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[cache/apcu-adapter

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

173.0M22](/packages/cache-apcu-adapter)[ihor/cachalot

Cache a lot in a proper way (APC, XCache, Memcached, Redis, Couchbase)

2528.1k](/packages/ihor-cachalot)

PHPackages © 2026

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