andersao/l5-repository

Laravel 5 - Repositories to abstract the database layer

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 16th, 2026
Created on February 12th, 2015
Open Issues & Pull Requests: 261 (+0)
GitHub issues: Enabled
Number of forks: 880
Total Stargazers: 4,196 (+0)
Total Subscribers: 149 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.0 days
Mean response time: 31.1 days
90th percentile: 104.5 days
Tracked items: 12

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 7
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 496 days
Stale 30+ days: 7
Stale 90+ days: 7

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

L5-Repository is a Laravel package that provides an abstraction layer for database access through the repository pattern.

The package solves the problem of tightly coupled database logic scattered throughout application code by implementing repositories as a structural pattern. It abstracts database queries behind a consistent interface, allowing developers to interact with data through repository methods rather than directly with Eloquent models or query builders. This approach centralizes data access logic, making it easier to test, maintain, and swap database implementations without changing application code that depends on the repositories.

Developers should adopt this tool when building Laravel applications where separation of concerns between business logic and data access is a priority. It suits projects of any size that benefit from cleaner architecture and testability, particularly those where multiple parts of the application need to query the same entities. The package works within the Laravel ecosystem and is designed specifically for Laravel 5, integrating with its conventions and service container.

The project shows consistent maintenance with regular updates addressing compatibility and bug fixes. Development activity demonstrates responsiveness to community feedback through issue resolution and pull request handling. The codebase receives ongoing refinement to keep pace with Laravel framework evolution. Documentation is actively maintained to reflect current usage patterns and best practices for the repository pattern within Laravel applications.