PHPackages                             gns/filter-bundle - 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. [Search &amp; Filtering](/categories/search)
4. /
5. gns/filter-bundle

ActiveSymfony-bundle[Search &amp; Filtering](/categories/search)

gns/filter-bundle
=================

Symfony filter bundle

v2.0.1(6y ago)11.6k[1 issues](https://github.com/gns-it/filter-bundle/issues)[2 PRs](https://github.com/gns-it/filter-bundle/pulls)MITPHPPHP ^7.1.3

Since Dec 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gns-it/filter-bundle)[ Packagist](https://packagist.org/packages/gns/filter-bundle)[ Docs](https://github.com/gns-it/filter-bundle)[ RSS](/packages/gns-filter-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (4)Dependencies (10)Versions (7)Used By (0)

**Knp pagination wrapper accessing filter &amp; sort paginated collections of entities**

**Instalation**

```
composer require Gns/data-filter-bundle "1.0"

```

**Configuration**

```
Gns_filter:
    checkers_enabled: # bool (default true) Enables prop availability check for filter & sort.
    default_operator: # string (default like) Defines default operator when absent.
    default_order_direction: # enum (ASC,DESC) (default ASC) Defines default order direction when absent.

```

**Collection filters usage**

```
{
    filter:{
        associationNameA: {
            filedName: 'value'
        },
        associationNameB: {
            filedName: {
                operator: 'eq'
                value: 'value'
            }
        },
        associationNameC: {
            filedName: {
                value: 'value' // If no operator defined then triggers default operator - like
            }
        },
        associationNameD: {
            associationNameA: {
                associationNameB:{
                    filedName{
                         value: 'value' // If no operator defined then triggers default operator - like
                    }
                }
            }
        },
    },
    cfFilter:[
       0:[ // Disjunction query must be an array on indexed arrays of definitions
            associationNameA: {
                filedName: 'value'
            },
            associationNameB: {
                filedName: {
                    operator: 'eq'
                    value: 'value'
                }
            },
            associationNameC: {
                filedName: {
                    value: 'value' // If no operator defined then triggers default operator - like
                }
            },
            associationNameD: {
                associationNameA: {
                    associationNameB:{
                        filedName:{
                             value: 'value' // If no operator defined then triggers default operator - like
                        }
                    }
                }
            },
        ], 1:[...], 2:[...]
    ],
    order:{
        associationNameA: {
            filedName: 'ASC'
        },
        associationNameB: {
            filedName: 'DESC'
        },
        associationNameC: {
            filedName: 'DESC'
        },
        associationNameD: {
            associationNameA: {
                associationNameB:{
                    filedName:'ASC'
                }
            }
        },
    },
}

```

Allowed operators

```
__________________________________________________________________________
|              |                                                         |
|    'eq'      |       Equal (=)                                         |
|______________|_________________________________________________________|
|              |                                                         |
|    'neq'     |       Not equal ()                                    |
|______________|_________________________________________________________|
|              |                                                         |
|    'lt'      |       Less then (= with time to 00:00:00)  |
|______________|_________________________________________________________|
|              |                                                         |
|    'in'      |       In (IN delimiter "|")                             |
|______________|_________________________________________________________|
|              |                                                         |
|    'nin'     |       Not in (NOT IN delimiter "|")                     |
|______________|_________________________________________________________|
|              |                                                         |
|    'like     |       Like (LIKE)                                       |
|______________|_________________________________________________________|
|              |                                                         |
|  'not_like'  |       Not like (NOT LIKE)                               |
|______________|_________________________________________________________|
|              |                                                         |
|    'bwn'     |       Between (BETWEEN)                                 |
|______________|_________________________________________________________|
|              |                                                         |
|  'not_bwn'   |       Not between (NOT BETWEEN)                         |
|______________|_________________________________________________________|
|              |                                                         |
|'hv_count_eq' |       Having count (HAVING COUNT(t.f) = :count)         |
|______________|_________________________________________________________|
|              |                                                         |
|  'is_null'   |       Is Null (t.f IS NULL)                             |
|______________|_________________________________________________________|
|              |                                                         |
| 'isnt_null'  |       Is not Null (t.f IS NOT NULL)                     |
|______________|_________________________________________________________|

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~18 days

Total

4

Last Release

2290d ago

Major Versions

v1.1 → v2.02020-02-08

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6642914?v=4)[Nicky Lemeshko](/maintainers/gns-it)[@gns-it](https://github.com/gns-it)

---

Top Contributors

[![slmder](https://avatars.githubusercontent.com/u/22047212?v=4)](https://github.com/slmder "slmder (42 commits)")

---

Tags

symfonyfilter

### Embed Badge

![Health badge](/badges/gns-filter-bundle/health.svg)

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

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29733.3k](/packages/sulu-skeleton)[dms/dms-filter-bundle

DMS Filter Bundle, makes Annotation based entity filtering available in Symfony

78351.6k1](/packages/dms-dms-filter-bundle)[kitpages/data-grid-bundle

Symfony DataGridBundle

7780.9k1](/packages/kitpages-data-grid-bundle)

PHPackages © 2026

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