Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Symfony
  3. LexikFormFilterBundle

LexikFormFilterBundle

MITPHPv8.0.1

A Symfony bundle for building form filters that generate Doctrine queries from form submissions.

GitHubGitHub
387 stars118 forks0 contributors

What is LexikFormFilterBundle?

LexikFormFilterBundle is a Symfony bundle that provides classes to build form filters and generate Doctrine queries from those filters. It solves the problem of manually constructing database queries for search and filtering functionality by connecting Symfony forms directly to query generation.

Target Audience

Symfony developers who need to implement search forms, data filtering interfaces, or admin panels with complex filtering requirements in their applications.

Value Proposition

Developers choose this bundle because it eliminates repetitive query-building code, follows Symfony best practices, and provides a structured approach to implementing filtering functionality with minimal boilerplate.

Overview

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

Use Cases

Best For

  • Building admin panels with advanced search capabilities
  • Implementing filterable data tables in Symfony applications
  • Creating search forms that generate complex database queries
  • Adding filtering functionality to Doctrine-based Symfony projects
  • Reducing boilerplate code for search and filter implementations
  • Maintaining clean separation between form logic and query building

Not Ideal For

  • Projects not using the Symfony framework or Doctrine ORM
  • Applications with extremely simple filtering needs that manual queries can handle
  • Teams preferring lightweight solutions without bundle dependencies or vendor lock-in

Pros & Cons

Pros

Symfony Integration

Seamlessly integrates with Symfony's form component and dependency injection, leveraging familiar form types and validation as described in the bundle's features.

Automated Query Building

Converts form submissions directly into optimized Doctrine queries, eliminating repetitive manual query construction and reducing boilerplate code.

Flexible Configuration

Supports various filter types and customization options for complex scenarios, allowing developers to tailor filtering logic without core hacks.

Doctrine Optimization

Generates efficient Doctrine queries using the query builder, ensuring performance and maintainability in data-heavy Symfony applications.

Cons

Vendor Lock-in

Tightly coupled to Symfony and Doctrine, making it unsuitable for projects using other frameworks like Laravel or ORMs like Eloquent, limiting flexibility.

Setup Complexity

Requires configuration and understanding of Symfony forms and Doctrine, which can be steep for edge-case filters or developers new to these technologies.

Maintenance Uncertainty

The README points to a new repository (SpiriitLabs/form-filter-bundle), suggesting potential migration issues or reduced active development from the original team.

Frequently Asked Questions

Quick Stats

Stars387
Forks118
Contributors0
Open Issues17
Last commit2 years ago
CreatedSince 2011

Tags

#query-builder#doctrine-orm#form-filters#bundle#data-filtering#symfony-bundle#php#symfony

Built With

P
PHP
S
Symfony
D
Doctrine ORM

Included in

Symfony1.6k
Auto-fetched 1 day ago

Related Projects

CraueFormFlowBundleCraueFormFlowBundle

Multi-step forms for your Symfony project.

Stars748
Forks125
Last commit1 year ago
IvoryCKEditorBundleIvoryCKEditorBundle

Provides a CKEditor integration for your Symfony project.

Stars333
Forks107
Last commit7 years ago
KarserRecaptcha3BundleKarserRecaptcha3Bundle

Google ReCAPTCHA v3 for Symfony

Stars187
Forks24
Last commit10 months ago
InfiniteFormBundleInfiniteFormBundle

A collection of useful form types and extensions for Symfony.

Stars169
Forks37
Last commit9 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub