PHPackages                             tmsolution/form-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. [Database &amp; ORM](/categories/database)
4. /
5. tmsolution/form-filter-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

tmsolution/form-filter-bundle
=============================

This bundle aim to provide classes to build some form filters and then build a doctrine query from this form filter.

v5.0.2(9y ago)017MITPHPPHP &gt;=5.5.9

Since May 28Pushed 9y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (37)Used By (0)

Overview
========

[](#overview)

This Symfony2 bundle aims to provide classes to build some form types dedicated to filter an entity. Once you created your form type you will be able to update a doctrine query builder conditions from a form type.

[![Build Status](https://camo.githubusercontent.com/335b1c0279f731442c7f751d5c791d648cafaae48829b6f26c469948bab51421/68747470733a2f2f7472617669732d63692e6f72672f6c6578696b2f4c6578696b466f726d46696c74657242756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/lexik/LexikFormFilterBundle)[![Latest Stable Version](https://camo.githubusercontent.com/3dd4aa1faaeab797d5f968edb291c1b5f3c5112162acbd98c50781785006fdf3/68747470733a2f2f706f7365722e707567782e6f72672f6c6578696b2f666f726d2d66696c7465722d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/lexik/form-filter-bundle)[![SensioLabsInsight](https://camo.githubusercontent.com/dd4d6e57a478ffc7a6bdb69676e90af8e42e2f855313e8bd3d8b2524e27fa0fc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31646339633664352d333639642d343934302d383461322d6630393431616535643136632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/1dc9c6d5-369d-4940-84a2-f0941ae5d16c)

The idea is:

1. Create a form type extending from `Symfony\Component\Form\AbstractType` as usual.
2. Add form fields by using provided filter types (e.g. use TextFilterType::class instead of a TextType::class type) (\*).
3. Then call a service to build the query from the form instance and execute your query to get your result :).

(\*): In fact you can use any type, but if you want to apply a filter by not using a XxxFilterType::class type you will have to create a custom listener class to apply the filter for this type.

Documentation
=============

[](#documentation)

This `Symfony3.0` branch is compatible with Symfony 2.8/3.0 or higher.

For installation and how to use the bundle refer to [Resources/doc/index.md](Resources/doc/index.md)

Running the test suite
======================

[](#running-the-test-suite)

```
composer install
bin/phpunit

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor6

6 contributors hold 50%+ of commits

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 ~48 days

Recently: every ~76 days

Total

33

Last Release

3606d ago

Major Versions

v0.0.3 → v1.0.02012-06-21

v1.x-dev → v2.0.02013-10-24

v2.1.2 → v3.0.02014-10-09

v3.0.8 → v4.0.02015-07-31

v4.0.2 → v5.0.02016-01-11

PHP version history (2 changes)v0.0.3PHP &gt;=5.3.2

v5.0.0PHP &gt;=5.5.9

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18549958?v=4)[Jacek](/maintainers/JacekLozinski)[@JacekLozinski](https://github.com/JacekLozinski)

---

Top Contributors

[![zerkalica](https://avatars.githubusercontent.com/u/274786?v=4)](https://github.com/zerkalica "zerkalica (20 commits)")[![jeremyb](https://avatars.githubusercontent.com/u/134588?v=4)](https://github.com/jeremyb "jeremyb (16 commits)")[![inoryy](https://avatars.githubusercontent.com/u/195271?v=4)](https://github.com/inoryy "inoryy (12 commits)")[![spackmat](https://avatars.githubusercontent.com/u/185854?v=4)](https://github.com/spackmat "spackmat (12 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (11 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (11 commits)")[![AndreyChernykh](https://avatars.githubusercontent.com/u/457894?v=4)](https://github.com/AndreyChernykh "AndreyChernykh (9 commits)")[![rvanlaak](https://avatars.githubusercontent.com/u/2707563?v=4)](https://github.com/rvanlaak "rvanlaak (8 commits)")[![kostychev](https://avatars.githubusercontent.com/u/14072809?v=4)](https://github.com/kostychev "kostychev (6 commits)")[![webdevilopers](https://avatars.githubusercontent.com/u/3479626?v=4)](https://github.com/webdevilopers "webdevilopers (5 commits)")[![lerox](https://avatars.githubusercontent.com/u/2645882?v=4)](https://github.com/lerox "lerox (3 commits)")[![stephpy](https://avatars.githubusercontent.com/u/232744?v=4)](https://github.com/stephpy "stephpy (3 commits)")[![Lheurt](https://avatars.githubusercontent.com/u/379945?v=4)](https://github.com/Lheurt "Lheurt (3 commits)")[![gnat42](https://avatars.githubusercontent.com/u/325591?v=4)](https://github.com/gnat42 "gnat42 (3 commits)")[![JacekLozinski](https://avatars.githubusercontent.com/u/18549958?v=4)](https://github.com/JacekLozinski "JacekLozinski (3 commits)")[![Malian](https://avatars.githubusercontent.com/u/553321?v=4)](https://github.com/Malian "Malian (2 commits)")[![Padam87](https://avatars.githubusercontent.com/u/776488?v=4)](https://github.com/Padam87 "Padam87 (2 commits)")[![mbartok](https://avatars.githubusercontent.com/u/2789416?v=4)](https://github.com/mbartok "mbartok (2 commits)")[![lars-feyerabend](https://avatars.githubusercontent.com/u/331299?v=4)](https://github.com/lars-feyerabend "lars-feyerabend (2 commits)")[![VitaliiTsilnyk](https://avatars.githubusercontent.com/u/218479?v=4)](https://github.com/VitaliiTsilnyk "VitaliiTsilnyk (2 commits)")

---

Tags

bundledoctrineSymfony2filterform

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k12](/packages/2lenet-crudit-bundle)[spiriitlabs/form-filter-bundle

Symfony bundle for dynamic filtering, search forms and Doctrine query generation

39542.3k11](/packages/spiriitlabs-form-filter-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)

PHPackages © 2026

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