PHPackages                             bankiru/stash-tags - 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. bankiru/stash-tags

AbandonedLibrary[Caching](/categories/caching)

bankiru/stash-tags
==================

Stash\\Item with tags support

v1.0.1(10y ago)018.2k↓50%MITPHPPHP &gt;=5.5

Since Aug 4Pushed 3y ago10 watchersCompare

[ Source](https://github.com/bankiru/stash-tags)[ Packagist](https://packagist.org/packages/bankiru/stash-tags)[ RSS](/packages/bankiru-stash-tags/feed)WikiDiscussions master Synced 1mo ago

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

Stash\\Item with tags support
=============================

[](#stashitem-with-tags-support)

[![GitHub license](https://camo.githubusercontent.com/28fa8772d73257d3e9980c7e83f79451eed574956da197a9f9e56d31e4c6fd72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)](https://github.com/bankiru/stash-tags/blob/master/LICENSE)[![Github All Releases](https://camo.githubusercontent.com/bb310ed684d02a39c2259972dcf7a758d9b23b041651e3aa809d9d29679bb023/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f62616e6b6972752f73746173682d746167732f746f74616c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/bankiru/stash-tags/releases)[![Packagist](https://camo.githubusercontent.com/4d417c7b533330284798781810d16198a7416962257c887b3c15acfb6847e781/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bankiru/stash-tags)[![Packagist](https://camo.githubusercontent.com/f41d0999f97e5ac959674d6bb795cd622cf97a898772e81b7f45c23e53b2b48b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)](https://github.com/bankiru/stash-tags/releases)[![Packagist Pre Release](https://camo.githubusercontent.com/7b0332b58d3733f639223833c27776cffa27c95a2896c405b1e2bbd0729cf291/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)](https://github.com/bankiru/stash-tags)

[![Travis](https://camo.githubusercontent.com/537d388e1771cd2eb4a842ba3edd826de52a547af1c5adbbaa42ff2d04abc34e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/bankiru/stash-tags)[![Coveralls](https://camo.githubusercontent.com/5f30b8e8683ac0a7879778f85aca61a3c9c832e2b1ce223038d166168fb90b96/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/bankiru/stash-tags)[![Scrutinizer](https://camo.githubusercontent.com/46d2419a3fc1c0e48c2321831fd981050ea0433d1271ea652ea2c4da4f39187c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/bankiru/stash-tags/)[![SensioLabs Insight](https://camo.githubusercontent.com/813e0196fbe41c79734e4f53da1c30d47fac580e2568695395c869e815b896f3/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f32326466336433652d303530652d343139622d613661302d3630383830326234616336382e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/22df3d3e-050e-419b-a6a0-608802b4ac68)![HHVM](https://camo.githubusercontent.com/d8c436b6b7d7e59074ffd01a88a77601cd5a3d3489d709a01d1aeb2d1a821fde/68747470733a2f2f696d672e736869656c64732e696f2f6868766d2f62616e6b6972752f73746173682d746167732e7376673f7374796c653d666c61742d737175617265)

Install
-------

[](#install)

```
composer require bankiru/stash-tags

```

Usage
-----

[](#usage)

```
$pool = new Pool();
$pool->setItemClass('Bankiru\Stash\TaggedItem');

```

```
$item = $pool->getItem('my-key');
$item->setTags(['tag1', 'tag2']);
$item->save();

```

```
$item = $pool->getItem('my-key');
$tags = $item->getTags();
echo 'Tags: ', implode(',', $tags);

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 91.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 ~48 days

Total

5

Last Release

3745d ago

Major Versions

v0.1.2 → v1.0.02016-02-15

### Community

Maintainers

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

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

---

Top Contributors

[![ekho](https://avatars.githubusercontent.com/u/374426?v=4)](https://github.com/ekho "ekho (11 commits)")[![hanovruslan](https://avatars.githubusercontent.com/u/1153520?v=4)](https://github.com/hanovruslan "hanovruslan (1 commits)")

---

Tags

cachetagstagstash

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bankiru-stash-tags/health.svg)

```
[![Health](https://phpackages.com/badges/bankiru-stash-tags/health.svg)](https://phpackages.com/packages/bankiru-stash-tags)
```

###  Alternatives

[cache/adapter-common

Common classes for PSR-6 adapters

11124.4M38](/packages/cache-adapter-common)[cache/tag-interop

Framework interoperable interfaces for tags

10525.0M12](/packages/cache-tag-interop)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

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

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

705.8M82](/packages/cache-filesystem-adapter)[cache/array-adapter

A PSR-6 cache implementation using a php array. This implementation supports tags

548.3M151](/packages/cache-array-adapter)[cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

523.9M27](/packages/cache-redis-adapter)

PHPackages © 2026

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