spatie/laravel-query-builder
Safely build Eloquent queries from incoming API requests. Allowlist filters, sorts, includes, and fields; supports partial/exact and custom filters, nested relationships, relation counts, and default values. Works with existing queries for clean, consistent endpoints.
|
Package
|
Constraint
|
|---|---|
| illuminate/database | ^12.0|^13.0 |
| illuminate/http | ^12.0|^13.0 |
| illuminate/support | ^12.0|^13.0 |
| spatie/laravel-package-tools | ^1.11 |
|
Package
|
Constraint
|
|---|---|
| larastan/larastan | ^3.3 |
| mockery/mockery | ^1.4 |
| orchestra/testbench | ^10.0|^11.0 |
| pestphp/pest | ^4.0 |
| phpunit/phpunit | ^12.0 |
| spatie/invade | ^2.0 |
How can I help you explore Laravel packages today?