PHPackages                             pacolmg/symfony-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. pacolmg/symfony-filter-bundle

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

pacolmg/symfony-filter-bundle
=============================

Wee library to filter objects in Symfony 4 entities repositories

v1.1.0(6y ago)047[1 PRs](https://github.com/Pacolmg/symfony-filter-bundle/pulls)MITPHPPHP ^7.1.3

Since Jul 12Pushed 5y agoCompare

[ Source](https://github.com/Pacolmg/symfony-filter-bundle)[ Packagist](https://packagist.org/packages/pacolmg/symfony-filter-bundle)[ RSS](/packages/pacolmg-symfony-filter-bundle/feed)WikiDiscussions master Synced yesterday

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

Symfony Filter Bundle
=====================

[](#symfony-filter-bundle)

This bundle provides your Symfony 4 app some functions to filter and make lists in an easy way.

License [MIT](https://raw.githubusercontent.com/Pacolmg/symfony-filter-bundle/master/LICENSE)

Installation
============

[](#installation)

### Add the package to composer via console

[](#add-the-package-to-composer-via-console)

```
$ composer  require  pacolmg/symfony-filter-bundle
```

### Add the Bundle to config/bundles.php

[](#add-the-bundle-to-configbundlesphp)

Probably you can skip this step, because Symfony Flex do it automatically. But just in case, go to the file `config\bundles.php` and check that this line is in the code:

```
...
Pacolmg\SymfonyFilterBundle\PacolmgSymfonyFilterBundle::class => ['all' => true],
...
```

### Extend the Repository of the entity that need to be filtered

[](#extend-the-repository-of-the-entity-that-need-to-be-filtered)

For instance, in a entity called `Article`, with a repository that should be in `src\Repository\ArticleRepository.php`:

```
