rikbruil/specification
Implements the Specification pattern for Laravel, letting you encapsulate query constraints and business rules as reusable, composable classes. Combine specifications with and/or/not operators and apply them directly to Eloquent queries for cleaner, testable filtering logic.
Implementation of the specification pattern in PHP
How can I help you explore Laravel packages today?