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

ActiveLibrary[Caching](/categories/caching)

talesoft/tale-cache
===================

A basic cache implementation with adapter support through PSR-6 pools

0.1(10y ago)013MITPHPPHP &gt;=5.5.0

Since Mar 1Pushed 7y ago3 watchersCompare

[ Source](https://github.com/Talesoft/tale-cache)[ Packagist](https://packagist.org/packages/talesoft/tale-cache)[ Docs](http://docs.talesoft.io/tale-framework/tale-cache)[ RSS](/packages/talesoft-tale-cache/feed)WikiDiscussions master Synced 2mo ago

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

Tale Cache
==========

[](#tale-cache)

What is Tale Cache?
-------------------

[](#what-is-tale-cache)

Tale Cache is a complete PSR-6 and PSR-16 implementation that provides different cache pools and simple cache interfaces.

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

[](#installation)

**Don't use in production yet**

```
composer req talesoft/tale-cache
```

Usage
-----

[](#usage)

```
use function Tale\cache;
use function Tale\cache_pool_routing;
use function Tale\cache_pool_serialized_file;
use function Tale\cache_pool_redis; //Doesn't actually exist yet

$cache = cache(cache_pool_routing([
    'app.' => cache_pool_serialized_file(__DIR__.'/var/cache/app'),
    'db.' => cache_pool_redis('redis://localhost')
]);

$value = $cache->get('app.my_namespace.my_value');
if ($value === null) {
    $value = do_some_heavy_work()
    $cache->set('app.my_namespace.my_value', $value);
}

//$value is now cached to var/cache/app/my_namespace/my_value.cache
```

//TODO: more docs, more tests

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3726d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75a80e0830e63c723808d021d3a1648a2643db60f4ac2e40842da05f227f956b?d=identicon)[TorbenKoehn](/maintainers/TorbenKoehn)

---

Top Contributors

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

---

Tags

cachecachingpsr-6

### Embed Badge

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

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

###  Alternatives

[tedivm/stash

The place to keep your cache.

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

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[cache/adapter-common

Common classes for PSR-6 adapters

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

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

6016.1M11](/packages/cache-hierarchical-cache)[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)

PHPackages © 2026

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