netgen/query-translator
Laravel package that translates request input into structured query criteria for filtering, sorting, pagination, and includes. Build safe, reusable query pipelines for Eloquent with configurable mappings and operators, keeping controllers thin and consistent across endpoints.
Adopt if:
Look elsewhere if:
For Executives: "This package lets us ship advanced search features faster by automating the translation of user queries into database-ready commands. For example, instead of spending months building a custom parser for faceted search, we can leverage Query Translator’s AST framework to support complex filters—like ‘show products in stock, under $100, with reviews > 4 stars’—across multiple data sources. It’s a low-risk way to differentiate our search experience without overhauling our backend."
For Engineering: *"Query Translator gives us a battle-tested way to handle ambiguous or malformed user queries by converting them into a structured AST. This is especially useful if we’re:
How can I help you explore Laravel packages today?