# dwightwatson/rememberable

> Eloquent trait that caches query results behind a remember() call

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/dwightwatson/rememberable
- HTML: https://awesomeopensource.dev/project/dwightwatson-rememberable
- License: MIT
- Language: PHP
- stars: 1128
- Topics: caching, eloquent, laravel, php
- Activity score: 1.7/5 (Slowing down)
- Last commit (any branch): 2026-03-20

## Description

Rememberable adds a remember() method to Eloquent queries that stores the SQL result in the configured cache for a given duration and returns it instead of hitting the database again. The trait can be applied to a base model or to individual models, and durations are passed as seconds or a DateTime from Laravel 5.8 onward. On Laravel 13, the cache's serializable_classes setting must allow the cached model classes.

## Maintenance activity

- Recency: 16% (weight 53%) — last commit: 238 days ago
- Commit volume: 13% (weight 33%)
- Bug fixes: 52% (weight 13%)
- Commits: 0 / 90d, 4 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
