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

ActiveLibrary[Caching](/categories/caching)

crodas/remember
===============

Remember computations you did before (file cache)

v0.5.2(8y ago)19.9k4MITPHP

Since Nov 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/crodas/Remember)[ Packagist](https://packagist.org/packages/crodas/remember)[ RSS](/packages/crodas-remember/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (13)Used By (4)

Remember
========

[](#remember)

Easiest way to remember things across requests in PHP.

Motivation
----------

[](#motivation)

I love generating code and I needed a way of rebuilding only if something changed.

How it works
------------

[](#how-it-works)

```
use Remember\Remember;

$function = Remember::wrap('name', function(Array $args, Array $files) {
    // do some that is expensive
    return $result;
});

// It will calculate once and cache the result
// until __FILE__ changes.
$result = $function([__FILE__, 'foobar']);

```

Low level API
-------------

[](#low-level-api)

```
use Remember\Remember;

$ns = Remember::ns('foobar');
$result = $ns->get([__FILE__], $isValid);
if (!$isValid) {
    // do something
    $result = ...;
    $ns->store([__FILE__], $result);
}

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

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

Recently: every ~149 days

Total

11

Last Release

2967d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36463?v=4)[C](/maintainers/crodas)[@crodas](https://github.com/crodas)

---

Top Contributors

[![crodas](https://avatars.githubusercontent.com/u/36463?v=4)](https://github.com/crodas "crodas (73 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/crodas-remember/health.svg)](https://phpackages.com/packages/crodas-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)[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)
