PHPackages                             corollarium/psr6-profilecachepool - 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. corollarium/psr6-profilecachepool

ActiveLibrary[Caching](/categories/caching)

corollarium/psr6-profilecachepool
=================================

A PSR-6 compatible cache pool for profiling cache access, hits and misses.

v1.0.3(9y ago)10838MITPHPPHP ^5.5 || ^7.0

Since Sep 26Pushed 9y ago3 watchersCompare

[ Source](https://github.com/Corollarium/PSR6-ProfileCachePool)[ Packagist](https://packagist.org/packages/corollarium/psr6-profilecachepool)[ Docs](https://github.com/Corollarium/PSR6-ProfileCachePool/)[ RSS](/packages/corollarium-psr6-profilecachepool/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

PSR6-ProfileCachePool
=====================

[](#psr6-profilecachepool)

A PSR6 compatible cache pool for profiling cache access, hits and misses. Developed by [Corollarium](https://corollarium.com).

Composer
--------

[](#composer)

composer require corollarium/psr6-profilecachepool

How to use it
-------------

[](#how-to-use-it)

```
$pool = new \Cache\Wrapper\ProfileCachePool(new MyRealAdapterPool());

// use normally
$pool->getItem('foo');

// print cute statistics in the end
$pool->reportHTML();
```

You get something like:

```
Cache Profile Summary: accessed=>100 / missed=>39 / deleted=>12 / cleaned=>0 / saved=>15 /

```

Aggregating results
-------------------

[](#aggregating-results)

Using multiple cache adapters? It's easy to get the aggregated results.

```
$pool1 = new \Cache\Wrapper\ProfileCachePool(new MyRealAdapterPool());
$pool2 = new \Cache\Wrapper\ProfileCachePool(new MyOtherAdapterPool());

// use normally
$pool1->getItem('foo');
$pool2->getItem('bar');

// merge statistics from several pools together
$mergedStatistics = \Cache\Wrapper\ProfileCachePool::mergeProfileSummaries([$pool1, $pool2]);

// print cute statistics in the end
\Cache\Wrapper\ProfileCachePool::summaryHTML($mergedStatistics);
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~0 days

Total

4

Last Release

3511d ago

### Community

Maintainers

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

---

Top Contributors

[![brunobg](https://avatars.githubusercontent.com/u/798800?v=4)](https://github.com/brunobg "brunobg (19 commits)")

---

Tags

cachepsr-6profile

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/corollarium-psr6-profilecachepool/health.svg)

```
[![Health](https://phpackages.com/badges/corollarium-psr6-profilecachepool/health.svg)](https://phpackages.com/packages/corollarium-psr6-profilecachepool)
```

###  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.4M37](/packages/cache-adapter-common)[cache/hierarchical-cache

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

6016.1M10](/packages/cache-hierarchical-cache)[cache/filesystem-adapter

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

705.8M81](/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)
