victormgomes/laravel-query-engine
Laravel Query Engine adds a fluent, reusable query layer to your Laravel app. Turn request parameters into filters, sorting, and pagination using composable, testable classes, keeping controllers thin and API queries consistent across every endpoint. Safe, explicit, and easy to extend.
victormgomes/laravel-query-engine is a lightweight package that turns incoming HTTP request parameters into safe, chainable Eloquent queries. Instead of scattering if statements and when() calls through your controllers, you declare which filters, sorts, and relations are allowed, and the engine assembles the query for you.
The result is declarative, reusable query logic that can power APIs, dashboards, and admin panels alike—while guarding against unexpected or unsafe input.
sort and direction parametersHow can I help you explore Laravel packages today?