PHPackages                             hudhaifas/silverstripe-remember - 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. hudhaifas/silverstripe-remember

ActiveSilverstripe-vendormodule[Caching](/categories/caching)

hudhaifas/silverstripe-remember
===============================

Reusable caching helper functions for SilverStripe using PSR-16 with Symfony Cache support

0671PHP

Since May 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hudhaifas/silverstripe-remember)[ Packagist](https://packagist.org/packages/hudhaifas/silverstripe-remember)[ RSS](/packages/hudhaifas-silverstripe-remember/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

hudhaifas/silverstripe-remember
===============================

[](#hudhaifassilverstripe-remember)

A lightweight SilverStripe module for caching expensive operations using `remember()`, `remember_per_user()`, and `remember_once()` helper functions.

Features
--------

[](#features)

- PSR-16 compatible (uses SilverStripe's built-in cache system)
- Supports Symfony Cache (Redis, Filesystem, APCu, etc.)
- Custom TTL per entry
- Per-user and per-request caching
- Easy global helpers

Configuration
-------------

[](#configuration)

By default, this module uses a dedicated cache pool named `remembercache`.

To make this work, you must define the `remembercache` service in your app config:

### Option 1: Define or alias the `remembercache` pool

[](#option-1-define-or-alias-the-remembercache-pool)

```
# Custom backend (e.g., Redis with namespace 'remember')
Psr\SimpleCache\CacheInterface.remembercache:
  factory: SilverStripe\Core\Cache\CacheFactory
  constructor:
    namespace: "remember"
    defaultLifetime: 86400
    backend: RedisCacheService

# OR alias to default backend
Psr\SimpleCache\CacheInterface.remembercache:
  alias: Psr\SimpleCache\CacheInterface.default
```

### Option 2: Change which pool the module uses

[](#option-2-change-which-pool-the-module-uses)

```
Hudhaifas\CacheHelpers\Services\CacheHelperService:
  cache_name: Psr\SimpleCache\CacheInterface.default
```

This lets you route caching through any defined backend.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5335447?v=4)[Hudhaifa](/maintainers/hudhaifas)[@hudhaifas](https://github.com/hudhaifas)

### Embed Badge

![Health badge](/badges/hudhaifas-silverstripe-remember/health.svg)

```
[![Health](https://phpackages.com/badges/hudhaifas-silverstripe-remember/health.svg)](https://phpackages.com/packages/hudhaifas-silverstripe-remember)
```

###  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)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[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)
