awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
prettus avatar

prettus/l5-repository

0
View on GitHub↗
4,205 stars·887 forks·PHP·MIT·13 viewsandersao.github.io/l5-repository↗

L5 Repository

This project is a repository pattern library for Laravel applications designed to decouple business logic from database queries and storage implementation. It provides a standardized data access layer to isolate application logic from the underlying storage layer.

The library includes a query filter system that translates HTTP request parameters into dynamic database filters, search criteria, and sorting logic. It features an API presenter layer to separate internal data structures from client responses and a cache manager that automatically refreshes stored database results when records are modified.

Additional capabilities include a command-line tool for generating controllers, models, and repositories, as well as validator classes to enforce business rules before data is persisted.

Features

  • Repository Patterns - Implements a repository pattern to decouple application business logic from the underlying storage implementation.
  • Repository Patterns - Provides a standardized data access layer that decouples business logic from database queries and storage implementation.
  • Data Abstraction Layers - Provides a standardized data access layer that decouples application logic from specific storage backends.
  • Query Parameter Filters - Converts HTTP request parameters into dynamic database filters and search criteria automatically.
  • Criteria-Based Record Filtering - Applies reusable search criteria to data requests to dynamically filter retrieved database records.
  • Eloquent Query Wrappers - Provides a wrapper for Eloquent to translate HTTP request parameters into dynamic database filters and sorting.
  • Presenter Pattern Formatting - Uses dedicated presenter classes to separate internal database models from the final API response formatting.
  • Repository Pattern Implementations - Decouples business logic from database operations using the repository pattern to improve maintainability.
  • Request-to-Query Predicate Mapping - Maps incoming HTTP request parameters directly to database query predicates for dynamic filtering and sorting.
  • API Response Transformations - Transforms database models into clean API outputs using a presenter-based transformation layer.
  • Request Parameter Filtering - Translates HTTP request parameters into dynamic database filters and sorting logic automatically.
  • Cache Consistency Managers - Manages cache consistency by automatically refreshing stored query results when underlying records are modified.
  • Database Result Caching - Caches raw results of expensive database queries and refreshes them automatically when records change.
  • Automatic Record-Based Invalidation - Implements automatic cache refreshing triggered by database record modifications or deletions.
  • Boilerplate Generators - Ships CLI tools to automatically generate controllers, models, and repository boilerplate.
  • Laravel Scaffold Generators - Accelerates development by automatically creating Laravel controllers, models, and repositories via CLI.
  • API Presenters - Implements a presenter layer to decouple internal database structures from external API responses.
  • Boilerplate Scaffolders - Provides CLI tools to generate standardized boilerplate files for controllers, models, and repositories.
  • Business Rule Validators - Provides dedicated validator classes to enforce business rules before data is persisted to the database.
  • Business Logic Model Validators - Enforces business rules on data using dedicated validator classes before saving to the data store.
  • Database and ORM - Repository pattern implementation for database abstraction.

Star history

Star history chart for prettus/l5-repositoryStar history chart for prettus/l5-repository

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to L5 Repository

Similar open-source projects, ranked by how many features they share with L5 Repository.
  • andersao/l5-repositoryandersao avatar

    andersao/l5-repository

    4,205View on GitHub↗

    This project is a database abstraction layer for Laravel that implements the repository pattern to decouple business logic from Eloquent database queries. It provides a standardized interface for data retrieval, pagination, and filtering. The system includes a query criteria mechanism for applying reusable search conditions based on request parameters and a caching wrapper that automatically clears stored results during record creation, updates, or deletions. It also features a presentation layer to transform raw database model attributes into formatted output for user interfaces. Additional

    PHP
    View on GitHub↗4,205
  • infyomlabs/laravel-generatorInfyOmLabs avatar

    InfyOmLabs/laravel-generator

    3,829View on GitHub↗

    This project is a code scaffolding tool and database-to-code mapper for Laravel. It functions as a CRUD generator and REST API generator that automates the creation of models, controllers, and administrative interfaces based on database schemas. The tool is distinguished by its template-driven approach, using customizable stub files that allow developers to override default blueprints to enforce specific architectural standards. It provides complete administrative dashboard boilerplates, including integrated authentication, themed UI layouts, and searchable data tables. The system covers a b

    PHP
    View on GitHub↗3,829
  • spatie/laravel-query-builderspatie avatar

    spatie/laravel-query-builder

    4,453View on GitHub↗

    This project is an Eloquent query builder wrapper and REST API query parser for Laravel applications. It translates HTTP request parameters into database queries to provide dynamic filtering, sorting, and relationship loading for API endpoints. The system decouples the external API interface from the storage layer through alias-based schema abstraction, allowing public field names to map to private database columns. It supports the dynamic inclusion of nested relationships and aggregate counts, as well as the execution of custom programmatic logic for filters and sorting via invokable classes

    PHPapihacktoberfestlaravel
    View on GitHub↗4,453
  • spring-projects/spring-data-examplesspring-projects avatar

    spring-projects/spring-data-examples

    5,421View on GitHub↗

    This project is a reference implementation providing a collection of practical examples for data access patterns and repository abstractions within the Spring Data ecosystem. It serves as a comprehensive showcase for implementing consistent data layers across various relational and non-relational databases. The repository specifically demonstrates multi-store persistence by integrating relational, document, and vector databases within a single application. It includes implementations for vector search to manage high-dimensional embeddings and similarity searches across different database tech

    Java
    View on GitHub↗5,421
See all 30 alternatives to L5 Repository→

Frequently asked questions

What does prettus/l5-repository do?

This project is a repository pattern library for Laravel applications designed to decouple business logic from database queries and storage implementation. It provides a standardized data access layer to isolate application logic from the underlying storage layer.

What are the main features of prettus/l5-repository?

The main features of prettus/l5-repository are: Repository Patterns, Data Abstraction Layers, Query Parameter Filters, Criteria-Based Record Filtering, Eloquent Query Wrappers, Presenter Pattern Formatting, Repository Pattern Implementations, Request-to-Query Predicate Mapping.

What are some open-source alternatives to prettus/l5-repository?

Open-source alternatives to prettus/l5-repository include: andersao/l5-repository — This project is a database abstraction layer for Laravel that implements the repository pattern to decouple business… infyomlabs/laravel-generator — This project is a code scaffolding tool and database-to-code mapper for Laravel. It functions as a CRUD generator and… spatie/laravel-query-builder — This project is an Eloquent query builder wrapper and REST API query parser for Laravel applications. It translates… spring-projects/spring-data-examples — This project is a reference implementation providing a collection of practical examples for data access patterns and… dotnet-architecture/eshoponweb — eShopOnWeb is a reference application for ASP.NET Core that demonstrates a sample e-commerce site. It serves as a… cosmicpython/book — This project is a technical resource and pattern library for building enterprise applications with Python. It serves…