andersao/l5-repository
Laravel 5 - Repositories to abstract the database layer observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 84
- Release rhythm 62
- 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: 112.0
- age_days: 4220
- days_rel: 98
- days_push: 98
- n_releases_24m: 5
Adoption not part of the score
4200 stars · 882 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Laravel package that implements the Repository pattern to abstract the database layer, providing base repositories, criteria, cache, validators, and presenters for Eloquent models. It includes artisan generators for scaffolding repositories and related classes.
Use cases
- abstract the database layer in a Laravel app
- implement the repository pattern with Eloquent
- apply query criteria to repositories
- cache repository query results
- generate repository classes with artisan
- add validation and presenters to data access
When to choose
- you use Laravel 5+ and want a structured data layer
- you want reusable query criteria and caching around Eloquent
- you prefer the repository pattern for testability and maintainability
When to avoid
- you prefer Laravel's modern active-record style without extra abstraction
- you use a framework other than Laravel
- you need a package with frequent updates and active development
Facets
library · maturity maintenance
orm database caching middleware web-development backend databases developer-tools php repository-pattern laravel eloquent data-layer criteria presenters validators
1 source
- readme: https://github.com/andersao/l5-repository · fetched 2026-08-28 · 0579d10f89eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| andersao/l5-repository | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="andersao/l5-repository")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem