sloth-dev-guy/searches
A Laravel package for adding reusable search functionality to your models and queries. Configure searchable fields, run flexible filtered searches, and get clean, query-builder-friendly results without repeating boilerplate code across your app.
Consider it when:
Look elsewhere when:
spatie/laravel-query-builder is actively maintained with broad adoption; it is the default answer for the same problem with a support story attached.where translator.For executives: This is a small, MIT-licensed helper that turns array-style filter parameters into database queries. It does not provide real search — no relevance ranking, no typo tolerance, no faceting. Adoption risk is high: no community, no dependents, and no release since August 2022, which means we would own all future maintenance and upgrade work. Recommendation: do not add it as a dependency. At most, we borrow the pattern for an internal admin tool and write the small amount of code ourselves. There is no license cost either way, no vendor lock-in, and the time saved over building it is negligible — so the low-risk path and the fast path are the same path.
For engineering: The package offers a declarative filter notation — array in, scoped Eloquent query out — which maps cleanly onto a frontend filter UI. Treat it as a reference implementation: lift the parsing approach into our own query-object/filter layer, where we control version support and tests. For anything customer-facing or anything requiring ranked results, default to Laravel Scout with a real search backend; for general filter plumbing, spatie/laravel-query-builder is the maintained option. If the team does decide to fork it, pin the source, assign an owner, and add framework-version compatibility to the upgrade checklist on day one.
How can I help you explore Laravel packages today?