# renoki-co/laravel-eloquent-query-cache

Adding cache on your Laravel Eloquent queries' results is now a breeze.

Repository: https://github.com/renoki-co/laravel-eloquent-query-cache
Canonical: https://ross.abutalabs.com/products/laravel-eloquent-query-cache
Language: PHP
License: Apache-2.0
License Family: permissive
Topics: laravel, eloquent, query, cache, redis, query-builder, laravel-eloquent-queries, invalidation, cache-storage, database, hacktoberfest
Last push: 2025-12-15T10:01:07+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 57, release rhythm 16, longevity 100
- inputs: {"age_days": 2477, "days_push": 261, "days_rel": 533, "gap_med": 107, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1119, forks 131 (observed 2026-08-28T04:03:39.386235+00:00)

## What it is
A Laravel package that adds caching directly to Eloquent queries, restoring the removed remember() functionality. It caches query results at the ORM level with support for invalidation and various cache stores like Redis.

## Use cases
- cache laravel eloquent query results
- add remember() back to laravel queries
- cache database queries with redis in laravel
- invalidate cached eloquent query results
- speed up laravel app by caching queries

## When to choose
- you use Laravel Eloquent and want query-level caching with minimal code changes
- you need cache invalidation tied to your Eloquent models
- you want to restore the old remember() behavior

## When to avoid
- you don't use Laravel or Eloquent
- you need caching at the HTTP response or application level instead of the query level
- your queries are already fast enough that caching adds complexity without benefit

## Facets
- artifact type: library
- maturity: active
- function: caching, orm, database
- domain: web-development, databases, backend
- platform: php
- tags: eloquent, query-cache, cache-invalidation, redis, laravel-package, laravel

## Member repositories
- renoki-co/laravel-eloquent-query-cache (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.386235+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:41:25.632982+00:00, confidence not recorded.
  - readme: https://github.com/renoki-co/laravel-eloquent-query-cache (fetched 2026-08-28T04:03:39.386235+00:00, sha 39b713f3054e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
