happyr/doctrine-specification
Reusable Doctrine query Specifications for PHP. Replace messy repositories and huge QueryBuilder methods with small, composable, testable spec classes. Reduce duplication, avoid methods with many arguments, and extend queries cleanly as your app grows.
This library gives you a new way for writing queries. Using the Specification pattern you will get small Specification classes that are highly reusable.
How can I help you explore Laravel packages today?