PHPackages                             progmancod/dms-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. progmancod/dms-filter-bundle

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

progmancod/dms-filter-bundle
============================

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

4.0.4(3y ago)020MITPHPPHP ^8

Since Jan 27Pushed 3y agoCompare

[ Source](https://github.com/progmancod/dms-filter-bundle)[ Packagist](https://packagist.org/packages/progmancod/dms-filter-bundle)[ Docs](https://github.com/rdohms/dms-filter-bundle)[ RSS](/packages/progmancod-dms-filter-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (31)Used By (0)

DMS Filter Bundle
=================

[](#dms-filter-bundle)

This bundle makes DMS/Filter available for use in your application for input filtering.

Current Status: [![Build Status](https://camo.githubusercontent.com/bb2ea9e87a1b886f51b419e5fdf6f826315aab090b03867fea351b396b19cf3f/68747470733a2f2f7472617669732d63692e6f72672f72646f686d732f646d732d66696c7465722d62756e646c652e706e673f6272616e63683d322e646576)](https://travis-ci.org/rdohms/dms-filter-bundle) [![Dependency Status](https://camo.githubusercontent.com/fe6905d225e06807132f4ab1042fe2ea6d73021fb048d40759d8c81f3bb352f4/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f646d733a646d732d66696c7465722d62756e646c652f312e312e312f62616467652e706e67)](https://www.versioneye.com/php/dms:dms-filter-bundle/1.1.1)

Install
-------

[](#install)

### 1. Import libraries

[](#1-import-libraries)

Option A) Use Composer.

```
composer require dms/dms-filter-bundle

```

### 2. Enable Bundle

[](#2-enable-bundle)

Add this to your `AppKernel.php`

```
new DMS\Bundle\FilterBundle\DMSFilterBundle(),

```

### 3. Configure

[](#3-configure)

This bundle can now automatically filter your forms if it finds a annotated entity attached.

This is the default behaviour, if you want to disable it add this to your `config.yml`

```
dms_filter:
    auto_filter_forms: false

```

Usage
-----

[](#usage)

### Adding Annotations

[](#adding-annotations)

To add annotations to your entity, import the namespace and add them like this:

```
