luciano-jr/laravel-api-query-handler
Laravel API Query Handler parses and applies API query parameters in your Laravel apps—filtering, sorting, pagination, and relationship includes—so you can build flexible, consistent endpoints without repeating request-handling logic in every controller.
Laravel API Query Handler turns incoming request query strings into clean, chainable Eloquent queries. Instead of scattering if ($request->has(...)) checks across controllers, you declare which filters, sorts, and includes an endpoint supports, and the handler applies them consistently.
It keeps controllers thin and API behaviour predictable, with sensible defaults and configuration that plays nicely with validation and API resources.
?sort=-created_at syntax.per_page/page handling with metadata.How can I help you explore Laravel packages today?