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

AbandonedArchivedLibrary[Caching](/categories/caching)

phpro/annotated-cache-bundle
============================

Provides a Symfony bridge for the phpro/annotated-cache package

v0.1.2(10y ago)36.7k1MITPHPPHP ~7.0

Since Apr 13Pushed 5y ago3 watchersCompare

[ Source](https://github.com/phpro/annotated-cache-bundle)[ Packagist](https://packagist.org/packages/phpro/annotated-cache-bundle)[ RSS](/packages/phpro-annotated-cache-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (0)

> ## Repository abandoned 2020-11-27
>
> [](#repository-abandoned-2020-11-27)
>
> This repository has been archived since we are not using it anymore internally. Feel free to use it AS-IS, we won't be providing any support anymore.

[![Build status](https://camo.githubusercontent.com/54c8c906ba60a5538a611c27a59d6bb5c94f2a6f3479c86c8833e9a3a954bdd0/68747470733a2f2f6170692e7472617669732d63692e6f72672f706870726f2f616e6e6f74617465642d63616368652d62756e646c652e737667)](http://travis-ci.org/phpro/annotated-cache-bundle)[![Insight](https://camo.githubusercontent.com/353605eeca6c2873cf6dfe2e952ebe8b6344c1e0a5d4407718636b7f19dad6d7/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f30343264353337652d396263322d346464372d623964382d6631363561356635303339662e737667)](https://insight.sensiolabs.com/projects/042d537e-9bc2-4dd7-b9d8-f165a5f5039f)[![Installs](https://camo.githubusercontent.com/384771214ddcc6265e5ed0756725fcd77c37e3ed556e638167bf49189ffab585/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706870726f2f616e6e6f74617465642d63616368652d62756e646c652e737667)](https://packagist.org/packages/phpro/annotated-cache-bundle/stats)[![Packagist](https://camo.githubusercontent.com/d3c72156f78d6e6e0ea6ced90399b61e7d4fa93212a3df039ff1a37f05045759/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706870726f2f616e6e6f74617465642d63616368652d62756e646c652e737667)](https://packagist.org/packages/phpro/annotated-cache-bundle)

Annotated Cache bundle
======================

[](#annotated-cache-bundle)

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

[](#installation)

```
composer require phpro/annotated-cache-bundle
```

```
# AppKernel.php
public function registerBundles()
{
    $bundles = [
        // Bundles ....
        new Phpro\AnnotatedCacheBundle\AnnotatedCacheBundle(),
    ];

    return $bundles;
}
```

*Note:*If you want to use cached services with multiple tags, it's recommended to register this bundle as early as possible.

Configuration
-------------

[](#configuration)

```
# Default configuration for extension with alias: "annotated_cache"
annotated_cache:
    key_generator: phpro.annotated_cache.keygenerator.expressions
    proxy_config:
        cache_dir: '%kernel.cache_dir%/annotated_cache'
        namespace: AnnotatedCacheGeneratedProxy
        register_autoloader: true
    pools:
        # Example:
        poolname:
            service: service.key
```

### Generate proxies

[](#generate-proxies)

```
services:
    app.manager.products:
        class: App\Manager\ProductsManager
        tags:
            - { name: 'annotated_cache.eligable' }
```

You can register your own services to use a caching proxy instead. The only thing you will have to do is to tag your service with the `annotated_cache.eligable` tag.

### Configure your own interceptor

[](#configure-your-own-interceptor)

```
services:
    app.interceptor.my_interceptor:
        class: App\Interceptor\MyInterceptor
        tags:
            - { name: 'annotated_cache.interceptor' }
```

Adding your own functionality is easy. Create your own `InterceptorInterface` and tag it with the `annotated_cache.interceptor` tag.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

Every ~13 days

Total

3

Last Release

3660d ago

### Community

Maintainers

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

---

Top Contributors

[![veewee](https://avatars.githubusercontent.com/u/1618158?v=4)](https://github.com/veewee "veewee (12 commits)")

---

Tags

annotationscachepsr-6symfony-bundle

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[contao/manager-bundle

Provides the Contao Managed Edition

181.3M61](/packages/contao-manager-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[mmoreram/rsqueue-bundle

Redis Symfony2 Queue Bundle, a simple and soft redis based message queue for symfony2

5360.7k1](/packages/mmoreram-rsqueue-bundle)

PHPackages © 2026

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