mike-bronner/laravel-model-caching
Eloquent model-caching made easy. observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 7
- age_days: 3272
- days_rel: 32
- days_push: 32
- n_releases_24m: 20
Adoption not part of the score
2371 stars · 228 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package that adds automatic, self-invalidating caching to Eloquent models and relationships via a trait. It caches query results and flushes relevant cache entries when models are created, updated, or deleted.
Use cases
- cache eloquent query results automatically
- avoid manual cache invalidation in laravel
- speed up read-heavy laravel pages
- cache model relationships in laravel
- reduce database queries in laravel app
- drop-in caching layer for laravel models
When to choose
- your laravel app makes many repeated Eloquent queries
- you want caching without manual cache key management
- you need cache entries invalidated automatically on model changes
- you want a drop-in trait-based caching solution
When to avoid
- you don't use Laravel or Eloquent
- your data changes so frequently that caching offers no benefit
- you need fine-grained custom cache strategies
- you use a cache driver with limited memory and huge datasets
Facets
library · maturity active
caching orm database web-development databases backend performance php eloquent laravel-package cache-invalidation query-caching trait laravel
1 source
- readme: https://github.com/mike-bronner/laravel-model-caching · fetched 2026-08-28 · b2dbb20c43d6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mike-bronner/laravel-model-caching | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="mike-bronner/laravel-model-caching")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem