PHPackages                             ifnot/api-filtering - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ifnot/api-filtering

ActiveLibrary

ifnot/api-filtering
===================

Simple API filtering specifications for eloquent.

54702PHP

Since Jul 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Ifnot/api-filtering)[ Packagist](https://packagist.org/packages/ifnot/api-filtering)[ RSS](/packages/ifnot-api-filtering/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Api Filtering
=============

[](#api-filtering)

Api Filtering is a laravel package allowing you to filter resources (based on eloquent models) through http parameters.

This package regroups the [Server Side](https://github.com/Ifnot/api-filtering/wiki/Server-side) filtering mechanism and a simple [Client Side (PHP)](https://github.com/Ifnot/api-filtering/wiki/Client-side-(PHP)) builder for building http query parameters (it can helps you testing, even query other apis !).

Specifications
--------------

[](#specifications)

Actually there is one specification :

- [AFS1 (Api Filtering Specification 1)](https://github.com/Ifnot/api-filtering/blob/master/AFS1.md) : Define the supported http parameters for filtering resources.

Installation
------------

[](#installation)

Require the package using composer :

```
composer require ifnot/api-filtering

```

Refer to [Server Side](https://github.com/Ifnot/api-filtering/wiki/Server-side) or [Client Side (PHP)](https://github.com/Ifnot/api-filtering/wiki/Client-side-(PHP)) for usage.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9919b0657e5904f4e09a4b0232ebe75f595180a6ca793e360a3bd77fb553d807?d=identicon)[ifnot](/maintainers/ifnot)

---

Top Contributors

[![IfnotFr](https://avatars.githubusercontent.com/u/1242308?v=4)](https://github.com/IfnotFr "IfnotFr (23 commits)")[![GaetanNaulin](https://avatars.githubusercontent.com/u/3592460?v=4)](https://github.com/GaetanNaulin "GaetanNaulin (2 commits)")

### Embed Badge

![Health badge](/badges/ifnot-api-filtering/health.svg)

```
[![Health](https://phpackages.com/badges/ifnot-api-filtering/health.svg)](https://phpackages.com/packages/ifnot-api-filtering)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
