kettasoft/filterable
Filterable brings clean, request-driven filtering to Laravel Eloquent models. Define reusable filter classes, apply them to any query with a simple trait, and support search, sorting, and custom filters without bloating your controllers. Lightweight and easy to extend.
(A AND B) OR (C AND (D OR E))) without a custom expression engine on the roadmap.Adopt when:
Proceed with diligence when:
Look elsewhere when:
Upgrade posture for v3.0.1: Low risk. No new public APIs or breaking changes; existing Tree request structures remain compatible. Upgrade via composer update kettasoft/filterable and prioritize regression tests on nested groups and permissive-mode omissions.
For executives: This package lets us ship advanced, user-composed filtering — nested AND/OR groups, saved segments, forgiving "best match" behavior — without building and maintaining a query engine ourselves. The v3.0.1 patch is a low-risk correctness fix: it makes filter groups respect the logic users actually specify, which protects trust in results. No API changes, no migration work; adoption is a composer update plus test coverage. Net effect: faster delivery of a differentiated search/filter experience at reduced engineering risk.
For engineering: v3.0.1 is a patch to the Tree engine: direct children now use the group's declared AND/OR, nested groups retain their boundaries during recursion, and permissive mode drops rejected leaves while keeping valid conditions in the same group. No breaking changes; existing request structures are compatible. Recommended actions: upgrade, add regression tests for nested boolean groups and permissive-mode partial matches, and document the filter grammar contract so persisted saved filters stay stable as the package matures.
How can I help you explore Laravel packages today?