spatie/laravel-query-builder
Build safe, flexible Eloquent queries from incoming API requests. Supports whitelisted filtering (partial/exact/scope/custom), sorting, includes, field selection, pagination, and grouped AND/OR filters—ideal for JSON:API-style endpoints with minimal boilerplate.
|
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?