PHPackages                             maldoinc/doctrine-filter - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. maldoinc/doctrine-filter

ActiveLibrary[HTTP &amp; Networking](/categories/http)

maldoinc/doctrine-filter
========================

Quickly add advanced filtering/searching and sorting capabilities to any resource in your APIs or Web apps that use Doctrine.

v2.0.0(2y ago)607.7k4[2 issues](https://github.com/maldoinc/doctrine-filter/issues)[1 PRs](https://github.com/maldoinc/doctrine-filter/pulls)MITPHPPHP ^7.4|^8

Since Jan 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/maldoinc/doctrine-filter)[ Packagist](https://packagist.org/packages/maldoinc/doctrine-filter)[ Docs](https://github.com/maldoinc/doctrine-filter)[ RSS](/packages/maldoinc-doctrine-filter/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (5)Versions (6)Used By (0)

doctrine-filter
===============

[](#doctrine-filter)

Quickly add advanced filtering and sorting capabilities to any resource in your APIs or Web apps that use Doctrine.

[![License](https://camo.githubusercontent.com/2c1943224905f1e3c167029d69c5a0da52651dff8c3a853a8848b66563d996b7/687474703a2f2f706f7365722e707567782e6f72672f6d616c646f696e632f646f637472696e652d66696c7465722f6c6963656e7365)](https://packagist.org/packages/maldoinc/doctrine-filter)[![PHP Version Require](https://camo.githubusercontent.com/bdd8b42413af83c2fde7e87bde151b7bde5ef15fe0e619c50c261ee1f0ee8dfb/687474703a2f2f706f7365722e707567782e6f72672f6d616c646f696e632f646f637472696e652d66696c7465722f726571756972652f706870)](https://packagist.org/packages/maldoinc/doctrine-filter)[![Version](https://camo.githubusercontent.com/47775f783bb3ac2ff8ac54a4e1317b4331851022defcf13cdb7545f24f19a271/687474703a2f2f706f7365722e707567782e6f72672f6d616c646f696e632f646f637472696e652d66696c7465722f76657273696f6e)](https://packagist.org/packages/maldoinc/doctrine-filter)[![Unit tests](https://github.com/maldoinc/doctrine-filter/actions/workflows/tests.yml/badge.svg)](https://github.com/maldoinc/doctrine-filter)[![Lint](https://github.com/maldoinc/doctrine-filter/actions/workflows/quality-tools.yml/badge.svg)](https://github.com/maldoinc/doctrine-filter)

###### Requirements

[](#requirements)

- PHP &gt;= 7.4
- Doctrine &gt;= 2.0

---

#### Examples

[](#examples)

Products with a price range between 100 and 200

```
GET /products?price[gte]=100&price[lte]=200
```

Users with a birthday after 1 Jan 2000

```
GET /users?birthday[gte]=2000-01-01
```

Users with an email ending with gmail.com

```
GET /users?email[ends_with]=gmail.com
```

Customers whose subscription field is null

```
GET /customers?subscription[is_null]
```

Users ordered by their last name in descending order

```
GET /users?orderBy[lastName]=desc
```

For this query only the status filter and order by id desc will be applied. Any keys not in the specified filter or orderBy format will be ignored

```
GET /todos?status[eq]=done&page=1&perPage=10&orderBy[id]=desc
```

Documentation
-------------

[](#documentation)

[Read the documentation here](docs/index.md)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.7% 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.

###  Release Activity

Cadence

Every ~391 days

Total

4

Last Release

806d ago

Major Versions

0.1 → v1.0.02022-12-03

v1.1.0 → v2.0.02024-04-11

PHP version history (2 changes)0.1PHP ^7|^8

v1.0.0PHP ^7.4|^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6c10931ef758d4360a3d94fb267bf92a0e2e096b0417403a7dcfff02692a4b8?d=identicon)[maldoinc](/maintainers/maldoinc)

---

Top Contributors

[![maldoinc](https://avatars.githubusercontent.com/u/1253062?v=4)](https://github.com/maldoinc "maldoinc (157 commits)")[![Matthew-Kilpatrick](https://avatars.githubusercontent.com/u/16194494?v=4)](https://github.com/Matthew-Kilpatrick "Matthew-Kilpatrick (1 commits)")[![plandolt](https://avatars.githubusercontent.com/u/922919?v=4)](https://github.com/plandolt "plandolt (1 commits)")

---

Tags

doctrinedoctrine-ormrestrest-apisymfonysymfonyrestdoctrineREST APIdoctrine-orm

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/maldoinc-doctrine-filter/health.svg)

```
[![Health](https://phpackages.com/badges/maldoinc-doctrine-filter/health.svg)](https://phpackages.com/packages/maldoinc-doctrine-filter)
```

###  Alternatives

[api-platform/doctrine-orm

Doctrine ORM bridge

263.9M78](/packages/api-platform-doctrine-orm)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

939.0k](/packages/ahmed-bhs-doctrine-doctor)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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