Download the PHP package roundly-consulting/query-builder-for-laravel without Composer
On this page you can find all versions of the php package roundly-consulting/query-builder-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roundly-consulting/query-builder-for-laravel
More information about roundly-consulting/query-builder-for-laravel
Files in roundly-consulting/query-builder-for-laravel
Package query-builder-for-laravel
Short Description Native, allow-list-driven filter, sort and pagination for Laravel API list endpoints
License MIT
Homepage https://roundly-consulting.com/open-source/docs/query-builder-for-laravel
Informations about the package query-builder-for-laravel
Query Builder for Laravel
Allow-list-driven filtering, sorting and pagination for Laravel API list endpoints. It reads the
query string (filter[...], sort=, page, per_page) and applies only the filters and sorts a
controller explicitly permits — anything else is rejected with a 400.
Installation
Requires PHP 8.4 and Laravel 13.
Usage
Declare what a list endpoint may filter and sort, then use it like any Eloquent builder:
HasPageSize validates per_page on the form request — above the configured maximum is a 422:
Documentation
The full documentation — configuration, every feature and its API, and testing — lives on our website: roundly-consulting.com/open-source/docs/query-builder-for-laravel
Release notes are in CHANGELOG.md. To contribute, see the contributing guide.
Support our work
This package is free and open source, built and maintained by Roundly Consulting. If it saves you time, please consider supporting our open-source work — a one-time donation, a monthly pledge on Patreon or a crypto donation helps fund maintenance, new features and new packages.
License
The MIT License (MIT). Please see LICENSE.md. Maintained by roundly-consulting.
All versions of query-builder-for-laravel with dependencies
illuminate/contracts Version ^13.0
illuminate/database Version ^13.0
illuminate/http Version ^13.0
illuminate/support Version ^13.0
symfony/http-kernel Version ^7.2|^8.0
roundly-consulting/enums-for-laravel Version ^2.0
roundly-consulting/package-toolkit-for-laravel Version ^2.0