PHPackages                             salted-herring/salted-library - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. salted-herring/salted-library

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

salted-herring/salted-library
=============================

Salted Herring's PHP Library (in progress)

v0.0.26(8y ago)12.4k3[2 issues](https://github.com/salted-herring/salted-library/issues)1MITPHP

Since Sep 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/salted-herring/salted-library)[ Packagist](https://packagist.org/packages/salted-herring/salted-library)[ Docs](https://github.com/salted-herring/salted-library)[ RSS](/packages/salted-herring-salted-library/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (1)

API
===

[](#api)

SaltedCache
-----------

[](#saltedcache)

SaltedCache provides you 3 simple functions that ease the manipulation of SilveStripe/Memcache's cache

### public static function read($factory, $cache\_key)

[](#public-static-function-readfactory-cache_key)

**$factory** - String. The factory name of which you store the cache

**$cache\_key** - String. The key that is used to retrieve the cache. Recommend use with ***Utilities::stringify(HTTP\_REQUEST)***

### public static function delete($factory, $cache\_key)

[](#public-static-function-deletefactory-cache_key)

**$factory** - String. The factory name of which you store the cache

**$cache\_key** - String. The key that is used to retrieve the cache. Recommend use with ***Utilities::stringify(HTTP\_REQUEST)***

### public static function save($factory, $cache\_key, $result)

[](#public-static-function-savefactory-cache_key-result)

**$factory** - String. The factory name of which you store the cache

**$cache\_key** - String. The key that is used to store the cache. You will need the same key to retrieve the corresponding result. Recommend use with ***Utilities::stringify(HTTP\_REQUEST)***

**$result** - Array | DataList. The result that you pull out from the DB or sewed up multiple datalist manually.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

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

Recently: every ~42 days

Total

15

Last Release

3280d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8662044?v=4)[Leo Chen](/maintainers/leochenftw)[@leochenftw](https://github.com/leochenftw)

![](https://www.gravatar.com/avatar/540bb83cb25750c18552987570b71946aebb4a1b3d6fe1c11e60ddcccda4fe17?d=identicon)[saltedherring](/maintainers/saltedherring)

---

Top Contributors

[![leochenftw](https://avatars.githubusercontent.com/u/8662044?v=4)](https://github.com/leochenftw "leochenftw (6 commits)")

---

Tags

phplibrarysilverstripe

### Embed Badge

![Health badge](/badges/salted-herring-salted-library/health.svg)

```
[![Health](https://phpackages.com/badges/salted-herring-salted-library/health.svg)](https://phpackages.com/packages/salted-herring-salted-library)
```

###  Alternatives

[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.1M84](/packages/silverstripe-userforms)[silverstripe/sharedraftcontent

Share draft page content with non-CMS users

21419.6k11](/packages/silverstripe-sharedraftcontent)

PHPackages © 2026

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