ifnot / api-filtering
Simple API filtering specifications for eloquent.
Installs: 470
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 2
pkg:composer/ifnot/api-filtering
Requires
- php: >=5.4
- illuminate/database: ^5.0|^6.0|^7.0|^8.0
Requires (Dev)
- orchestra/testbench: ~3.0
This package is auto-updated.
Last update: 2025-09-29 02:08:40 UTC
README
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 !).
Specifications
Actually there is one specification :
- AFS1 (Api Filtering Specification 1) : Define the supported http parameters for filtering resources.
Installation
Require the package using composer :
composer require ifnot/api-filtering
Refer to Server Side or Client Side (PHP) for usage.