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

ActiveLibrary[Caching](/categories/caching)

salient/cache
=============

The caching component of the Salient toolkit

v0.99.81(1y ago)01671MITPHPPHP &gt;=7.4

Since Jun 15Pushed 9mo agoCompare

[ Source](https://github.com/salient-labs/toolkit-cache)[ Packagist](https://packagist.org/packages/salient/cache)[ RSS](/packages/salient-cache/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (3)Versions (51)Used By (1)

salient/cache
=============

[](#salientcache)

> The caching component of the [Salient toolkit](https://github.com/salient-labs/toolkit)

 [![Latest Stable Version](https://camo.githubusercontent.com/b978c1049c392d826a98e1793e98d0cfc71599bbd0d2ce65c09d161b8d1f70c0/68747470733a2f2f706f7365722e707567782e6f72672f73616c69656e742f746f6f6c6b69742f76)](https://packagist.org/packages/salient/toolkit) [![License](https://camo.githubusercontent.com/a69dc21b66521958734e54526bc047b3502cfcec0f337643a14479da7c36506d/68747470733a2f2f706f7365722e707567782e6f72672f73616c69656e742f746f6f6c6b69742f6c6963656e7365)](https://packagist.org/packages/salient/toolkit) [![CI Status](https://github.com/salient-labs/toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/salient-labs/toolkit/actions) [![Code Coverage](https://camo.githubusercontent.com/9cd7526674c8d5a9d2c8f9150467975632309756513e52ece90427cd2ca97203/68747470733a2f2f636f6465636f762e696f2f67682f73616c69656e742d6c6162732f746f6f6c6b69742f67726170682f62616467652e7376673f746f6b656e3d59306c395a6545747249)](https://codecov.io/gh/salient-labs/toolkit)

---

`salient/cache` provides a key-value store backed by a SQLite database.

- Implements [PSR-16 (Common Interface for Caching Libraries)](https://www.php-fig.org/psr/psr-16/)
- Multiple operations can be grouped into an atomic transaction via a [time-bound copy of the cache](https://salient-labs.github.io/toolkit/Salient.Cache.CacheStore.html#_asOfNow) that maintains an exclusive lock on the underlying database until it goes out of scope or is explicitly closed

Documentation
-------------

[](#documentation)

[API documentation](https://salient-labs.github.io/toolkit/namespace-Salient.Cache.html) for `salient/cache` tracks the `main` branch of the toolkit's [GitHub repository](https://github.com/salient-labs/toolkit), where further documentation can also be found.

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance50

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

Every ~5 days

Recently: every ~0 days

Total

50

Last Release

532d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2563783?v=4)[Luke Arms](/maintainers/lkrms)[@lkrms](https://github.com/lkrms)

---

Top Contributors

[![lkrms](https://avatars.githubusercontent.com/u/2563783?v=4)](https://github.com/lkrms "lkrms (27 commits)")

### Embed Badge

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

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

###  Alternatives

[lkrms/pretty-php

The opinionated PHP code formatter

150104.1k1](/packages/lkrms-pretty-php)[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)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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