PHPackages                             stevenbuehner/temporary-cache-service - 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. stevenbuehner/temporary-cache-service

ActiveLibrary[Caching](/categories/caching)

stevenbuehner/temporary-cache-service
=====================================

Small service that provides the ability to temporarily cache data

1.1(9y ago)020MITPHPPHP &gt;5.3

Since Apr 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/stevenbuehner/TemporaryCacheService)[ Packagist](https://packagist.org/packages/stevenbuehner/temporary-cache-service)[ RSS](/packages/stevenbuehner-temporary-cache-service/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

TemporaryCacheService
=====================

[](#temporarycacheservice)

A small Service to temporarily cache data.

It offers the functions:

```
/**
 * @param bool $key
 */
public function hasCache($key;

/**
 * @param mixed $key
 * @return mixed
 * @throws CacheKeyDoesNotExistException
 */
public function getCache($key);

/**
 * @param mixed $key
 * @param mixed $value
 * @return mixed $value
 */
public function setCache($key, $value);

/**
 * Clears the cache of the given key if it does exist
 * @param mixed $key
 */
public function clearCache($key);

```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

3639d ago

Major Versions

0.3 → 1.02016-08-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/539fb0fe02d3a484cebe51f48a1d52a206d2d0267609737331c1742d2e9e5b61?d=identicon)[stevenbuehner](/maintainers/stevenbuehner)

---

Top Contributors

[![stevenbuehner](https://avatars.githubusercontent.com/u/1318984?v=4)](https://github.com/stevenbuehner "stevenbuehner (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stevenbuehner-temporary-cache-service/health.svg)

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

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)

PHPackages © 2026

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