alex-storozhenko/eloquent-criteria
A lightweight Laravel package for applying reusable criteria to Eloquent queries. Encapsulate filters and query logic in dedicated criteria classes, then compose them on models or repositories for cleaner, testable, and more maintainable database code.
Eloquent Criteria is a lightweight Laravel package that brings the Criteria pattern to Eloquent queries, letting you extract reusable filtering, sorting, and query logic into dedicated classes instead of cluttering models and controllers. Compose criteria on query builders to keep your data-access layer clean, testable, and easy to extend.
How can I help you explore Laravel packages today?