PHPackages                             tmsolution/filternator-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. [API Development](/categories/api)
4. /
5. tmsolution/filternator-bundle

ActiveSymfony-bundle[API Development](/categories/api)

tmsolution/filternator-bundle
=============================

Bundle to use knp paginator bundle and lexik form filter bundle

0110PHP

Since Jun 28Pushed 9y agoCompare

[ Source](https://github.com/TMSolution/FilterNatorBundle)[ Packagist](https://packagist.org/packages/tmsolution/filternator-bundle)[ RSS](/packages/tmsolution-filternator-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#Filter-Nator

This bundle is a simple link between the [KnpPaginatorBundle](https://github.com/KnpLabs/KnpPaginatorBundle) and the [LexikFormFilterBundle](https://github.com/lexik/LexikFormFilterBundle) allowing entities to be filtered (Filter) and paginated (Nator).

\##Installation

\###Step 1

Add the Filter-Nator bundle as a dependency in your composer.json:

```
{
    require: {
        "savvy/filternator-bundle": "dev-master"
    }
}
```

\###Step 2 Update the dependecies using composer:

```
$ php composer.phar update
```

\###Step 3 Add the Filter-Nator bundle to the AppKernal.php file:

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            //...
            new Savvy\FilterNatorBundle\SavvyFilterNatorBundle(),
```

\##Usage

The Filter-Nator bundle has one method, `filterNate()`. This method requires a query builder object, a filter form and a unique string to be used to store the form data in the session. The returned value is the pagination object from the [KnpPaginatorBundle](https://github.com/KnpLabs/KnpPaginatorBundle):

```
//Any class with access to the ContainerInterface object
$pagination = $this->container->get("savvy.filter_nator")->filterNate($filterBuilder, $form, 'foo');
```

\###Options

There are two additional arguments that can be given to `filterNate()` to set the required number of entites to return and the page number to start on:

```
//Any class with access to the ContainerInterface object
$pagination = $this->container->get("savvy.filter_nator")->filterNate(
    $filterBuilder,
    $form,
    'foo',
    5, /*return 5 entities*/
    1  /*starting from page 1*/
);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f92fd8e073eee2f6de77b291d4f3a93bb691353a2dbe4f2e682bcbbb07929e6?d=identicon)[JacekLozinski](/maintainers/JacekLozinski)

---

Top Contributors

[![piela](https://avatars.githubusercontent.com/u/4151429?v=4)](https://github.com/piela "piela (1 commits)")

### Embed Badge

![Health badge](/badges/tmsolution-filternator-bundle/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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