Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

L5 Repository Laravel Package

prettus/l5-repository

Laravel repository pattern implementation to abstract the data layer with Eloquent-friendly repositories, criteria for filtering, presenters/transformers, optional caching and validation, plus artisan generators. Helps keep controllers slim and code easier to maintain.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables strict separation of database logic from business logic, improving long-term maintainability and testability for complex applications
  • Standardizes data access patterns across teams, reducing onboarding time and inconsistency in query implementations
  • Build vs buy decision: High maturity (4.2k+ stars, 85.07 score) makes it superior to building custom repository layer; avoids reinventing core abstractions
  • Critical use cases: Multi-environment deployments (e.g., switching databases), API development requiring consistent response formatting via presenters, and projects needing caching/validation layers without custom implementation

When to Consider This Package

  • Adopt for medium-to-large projects where scalability, testability, and team consistency are priorities
  • Ideal when needing built-in caching, validation, or presenter layers to reduce boilerplate code
  • Avoid for trivial CRUD applications where Eloquent's active record pattern suffices
  • Skip if your project requires non-standard ORM behavior unsupported by this abstraction layer
  • Verify maintenance status: Despite high stars, check recent commits (last release date appears anomalous) and community activity before committing to critical systems

How to Pitch It (Stakeholders)

  • Executives: "This package reduces development time
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests