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

ActiveLibrary[Caching](/categories/caching)

cache/taggable-cache
====================

Add tag support to your PSR-6 cache implementation

1.2.0(4y ago)362.4M↓46.8%512MITPHPPHP &gt;=7.4CI failing

Since Dec 12Pushed 4y ago3 watchersCompare

[ Source](https://github.com/php-cache/taggable-cache)[ Packagist](https://packagist.org/packages/cache/taggable-cache)[ Docs](http://www.php-cache.com/en/latest/)[ RSS](/packages/cache-taggable-cache/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (16)Used By (12)

Taggable PSR-6 Cache pool
=========================

[](#taggable-psr-6-cache-pool)

[![Gitter](https://camo.githubusercontent.com/2ded3ed1778dcfc9af5e2dfaad55e176ade49082cb6ea757169cc5ea23bf32ac/68747470733a2f2f6261646765732e6769747465722e696d2f7068702d63616368652f63616368652e737667)](https://gitter.im/php-cache/cache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![Latest Stable Version](https://camo.githubusercontent.com/a436ffd670dce3bf67e22f1f5a8d5c30a598df9b8ca5457ac4edb867d2ec4ba3/68747470733a2f2f706f7365722e707567782e6f72672f63616368652f7461676761626c652d63616368652f762f737461626c65)](https://packagist.org/packages/cache/taggable-cache)[![codecov.io](https://camo.githubusercontent.com/b62aabcf5e3360992a133850715e2f60bc2116abe417e41cb3cfeb340650eb20/68747470733a2f2f636f6465636f762e696f2f6769746875622f7068702d63616368652f7461676761626c652d63616368652f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/php-cache/taggable-cache?branch=master)[![Total Downloads](https://camo.githubusercontent.com/bcf7e56176e74277203d36c198f29ae22044fb476ec898316e6693a1c44c292f/68747470733a2f2f706f7365722e707567782e6f72672f63616368652f7461676761626c652d63616368652f646f776e6c6f616473)](https://packagist.org/packages/cache/taggable-cache)[![Monthly Downloads](https://camo.githubusercontent.com/5b44fa6364952108ff44c28d26965cd9c13d947b5b4a8d91e41b9cc1b961453c/68747470733a2f2f706f7365722e707567782e6f72672f63616368652f7461676761626c652d63616368652f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/cache/taggable-cache)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This repository has a adapter that makes any PSR-6 pool taggable. All PHPC ache pools support tagging out of the box. Using tags allow you to tag related items, and then clear the cached data for that tag only. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at [www.php-cache.com](http://www.php-cache.com).

### Install

[](#install)

```
composer require cache/taggable-cache

```

### Contribute

[](#contribute)

Contributions are very welcome! Send a pull request to the [main repository](https://github.com/php-cache/cache) or report any issues you find on the [issue tracker](http://issues.php-cache.com).

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 74.7% 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 ~159 days

Recently: every ~442 days

Total

15

Last Release

1630d ago

Major Versions

0.5.1 → 1.0.02017-07-16

PHP version history (7 changes)0.1.0PHP ^5.5|^7

0.1.2PHP ^5.4|^7

0.4.0PHP ^5.5|^7.0

0.4.1PHP ^5.5 || ^7.0

0.5.0PHP ^5.6 || ^7.0

1.1.0PHP ^5.6 || ^7.0 || ^8.0

1.2.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

![](https://www.gravatar.com/avatar/9cf67675d97e63f6ff9e7fed55f35502b24cd834081806a6731229117c0630bb?d=identicon)[aequasi](/maintainers/aequasi)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (59 commits)")[![prisis](https://avatars.githubusercontent.com/u/2716058?v=4)](https://github.com/prisis "prisis (6 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (4 commits)")[![cryptiklemur](https://avatars.githubusercontent.com/u/896295?v=4)](https://github.com/cryptiklemur "cryptiklemur (4 commits)")[![magnusnordlander](https://avatars.githubusercontent.com/u/165002?v=4)](https://github.com/magnusnordlander "magnusnordlander (3 commits)")[![maidmaid](https://avatars.githubusercontent.com/u/4578773?v=4)](https://github.com/maidmaid "maidmaid (2 commits)")[![florianv](https://avatars.githubusercontent.com/u/1586668?v=4)](https://github.com/florianv "florianv (1 commits)")

---

Tags

cachepsr6tagTaggable

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[cache/tag-interop

Framework interoperable interfaces for tags

10626.0M13](/packages/cache-tag-interop)[tedivm/stash

The place to keep your cache.

9614.9M128](/packages/tedivm-stash)[cache/adapter-common

Common classes for PSR-6 adapters

11125.4M38](/packages/cache-adapter-common)[cache/cache

Library of all the php-cache adapters

2722.7M22](/packages/cache-cache)[cache/filesystem-adapter

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

726.0M91](/packages/cache-filesystem-adapter)

PHPackages © 2026

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