foxws/laravel-scout-builder
A fluent query builder for Laravel Scout that lets you construct search queries with familiar chainable methods, making it easier to filter, sort, and paginate searchable Eloquent models while keeping Scout integrations clean and expressive.
Consider adoption when:
when($request->has(...)) chains per controller.Look elsewhere when:
where clauses are less machinery for the same outcome.To executives: This is a small, focused dependency that removes the need to build and maintain our own search-filtering layer. It shortens time-to-market for filtered search screens by replacing custom parsing code with a convention, which means less code we own, fewer bugs, and cheaper iteration when product asks for "one more filter." Release 1.2.0 is a maintenance release that makes the layer more forgiving of malformed filter input — translating to fewer user-facing errors and lower support load, not new surface area.
To engineering: It's a declarative filter/sort builder for Laravel Scout — request params in, engine query out — keeping the search DSL out of controllers and domain code. 1.2.0 is a non-breaking minor: ignored nullable filters are now skipped rather than silently narrowing results, and unknown dynamic operator tokens fall back to equality instead of throwing. Both changes reduce edge-case failures on user-supplied URLs. The tradeoff to be aware of is that bad operators now degrade quietly, so request-level validation remains our responsibility. Low integration cost, low blast radius, and it keeps a driver swap as an infrastructure decision rather than a rewrite.
How can I help you explore Laravel packages today?