Api Filtering is a laravel package allowing you to filter resources (based on eloquent models) through http parameters.
This package regroups the Server Side filtering mechanism and a simple Client Side (PHP) builder for building http query parameters (it can helps you testing, even query other apis !).
Actually there is one specification :
- AFS1 (Api Filtering Specification 1) : Define the supported http parameters for filtering resources.
Require the package using composer :
composer require ifnot/api-filtering
Refer to Server Side or Client Side (PHP) for usage.