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

AbandonedLibrary[Caching](/categories/caching)

epwt/cache
==========

EPWT PSR-6 Cache Implementation

1.0.0(11y ago)75661[1 issues](https://github.com/aurimasniekis/epwt-cache/issues)1MITPHPPHP &gt;=5.3

Since Apr 27Pushed 10y ago1 watchersCompare

[ Source](https://github.com/aurimasniekis/epwt-cache)[ Packagist](https://packagist.org/packages/epwt/cache)[ Docs](http://github.com/gcds)[ RSS](/packages/epwt-cache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

EPWT Cache
==========

[](#epwt-cache)

[![Latest Stable Version](https://camo.githubusercontent.com/d5b27c31875296e0b13a73259f58980e575c69dbecdb1313465209892ee4ce83/68747470733a2f2f706f7365722e707567782e6f72672f657077742f63616368652f762f737461626c65)](https://packagist.org/packages/epwt/cache) [![Total Downloads](https://camo.githubusercontent.com/f8127807782ecea67e9452346fec802a6954910ab6de4be77ccd2aed1a67356f/68747470733a2f2f706f7365722e707567782e6f72672f657077742f63616368652f646f776e6c6f616473)](https://packagist.org/packages/epwt/cache) [![Latest Unstable Version](https://camo.githubusercontent.com/f20eb8b6e82a03f41fe2e49d1c428dc282c822d441e3a83b3c253352e7b5a1eb/68747470733a2f2f706f7365722e707567782e6f72672f657077742f63616368652f762f756e737461626c65)](https://packagist.org/packages/epwt/cache) [![License](https://camo.githubusercontent.com/25692eb1d9f8262169a1679600ef02d01a1c5e283d8b7766d957fdc1a442d5db/68747470733a2f2f706f7365722e707567782e6f72672f657077742f63616368652f6c6963656e7365)](https://packagist.org/packages/epwt/cache)[![Analytics](https://camo.githubusercontent.com/bfc5e5d4c8a8a1526b8bd6eb966f547bf2b1022e29106e5fd79289e598e9bfdf/68747470733a2f2f67612d626561636f6e2e61707073706f742e636f6d2f55412d36323335333631322d312f676364732f657077742d6361636865)](https://github.com/igrigorik/ga-beacon)

[![SensioLabsInsight](https://camo.githubusercontent.com/cda240a6ce8c8efd5231ffcabb13dab26bb2b63fa2caf3eb316496960b471bc9/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37333663653738662d646465632d343734322d613437352d6339613837323565616564302f6269672e706e67)](https://insight.sensiolabs.com/projects/736ce78f-ddec-4742-a475-c9a8725eaed0)

This library provides PSR-6 based caching.

Requirements
------------

[](#requirements)

- PHP &gt;= 5.4

Currently Implemented Drivers
-----------------------------

[](#currently-implemented-drivers)

- Redis (predis &amp; phpredis supported)

Usage
-----

[](#usage)

```
    $redisDriver = new EPWT\Cache\Drivers\RedisDriver();
    $redis = new Redis();
    $redis->connect('127.0.0.1');
    $redisDriver->setRedis($redis);

    $demoCachePool = new EPWT\Cache\Core\CacheItemPool('demo_pool');
    $demoCachePool->setDriver($redisDriver);

    $alternativeCachePool = new EPWT\Cache\Core\CacheItemPool('alternative_pool');
    $alternativeCachePool->setDriver($redisDriver);

    $cacheItemA = new EPWT\Cache\Core\CacheItem('a');
    $cacheItemA->setCacheItemPool($demoCachePool);
    $cacheItemA->set('foobar');

    $demoCachePool->save($cacheItemA);

    $a = $demoCachePool->getItem('a');
    $a->get();

    $alternativeCachePool->save($a);

```

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the file:

```
LICENSE

```

About
-----

[](#about)

EPWT Cache is brought to you by [Aurimas Niekis](https://github.com/gcds).

Reporting an issue or a feature request
---------------------------------------

[](#reporting-an-issue-or-a-feature-request)

Issues and feature requests are tracked in the [Github issue tracker](https://github.com/gcds/epwt-cache/issues).

###  Health Score

29

—

LowBetter than 58% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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

Unknown

Total

1

Last Release

4061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/770bae1f46ac2b4536db820b8642491c25e2e2fd44e761110269e4722679a80d?d=identicon)[aurimasniekis](/maintainers/aurimasniekis)

---

Top Contributors

[![aurimasniekis](https://avatars.githubusercontent.com/u/15481?v=4)](https://github.com/aurimasniekis "aurimasniekis (2 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")

---

Tags

rediscachepsr-6epwt

### Embed Badge

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

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

###  Alternatives

[psr/cache

Common interface for caching libraries

5.2k712.8M1.6k](/packages/psr-cache)[tedivm/stash

The place to keep your cache.

9614.9M126](/packages/tedivm-stash)[cache/redis-adapter

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

574.0M27](/packages/cache-redis-adapter)[cache/adapter-common

Common classes for PSR-6 adapters

11025.1M38](/packages/cache-adapter-common)[cache/predis-adapter

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

242.6M13](/packages/cache-predis-adapter)[cache/hierarchical-cache

A helper trait and interface to your PSR-6 cache to support hierarchical keys.

6016.5M11](/packages/cache-hierarchical-cache)

PHPackages © 2026

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