All Projects → lexik → Lexikformfilterbundle

lexik / Lexikformfilterbundle

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

Projects that are alternatives of or similar to Lexikformfilterbundle

Framework Bundle
The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more.
Stars: ✭ 3,056 (+748.89%)
Mutual labels:  bundle, symfony, symfony-bundle
Translationformbundle
Ease translations with some dedicated Symfony form types
Stars: ✭ 289 (-19.72%)
Mutual labels:  bundle, symfony, symfony-bundle
Sonataintlbundle
Symfony SonataIntlBundle
Stars: ✭ 212 (-41.11%)
Mutual labels:  bundle, symfony, symfony-bundle
Gifexceptionbundle
😛 The GhostBuster of your exception page!
Stars: ✭ 197 (-45.28%)
Mutual labels:  bundle, symfony, symfony-bundle
Doctrinemigrationsbundle
Symfony integration for the doctrine/migrations library
Stars: ✭ 3,782 (+950.56%)
Mutual labels:  bundle, symfony, symfony-bundle
Liiphellobundle
[DEPRECATED] Alternative Hello World Bundle for Symfony2 using several FriendsOfSymfony Bundles
Stars: ✭ 206 (-42.78%)
Mutual labels:  bundle, symfony, symfony-bundle
Sensioframeworkextrabundle
An extension to Symfony FrameworkBundle that adds annotation configuration for Controller classes
Stars: ✭ 3,203 (+789.72%)
Mutual labels:  bundle, symfony, symfony-bundle
Lexikjwtauthenticationbundle
JWT authentication for your Symfony API
Stars: ✭ 2,184 (+506.67%)
Mutual labels:  bundle, symfony, symfony-bundle
Lexikmaintenancebundle
This Symfony2 bundle allows you to place your website in maintenance mode by calling two commands in your console. A page with status code 503 appears to users, it is possible to authorize certain ips addresses stored in your configuration.
Stars: ✭ 253 (-29.72%)
Mutual labels:  bundle, symfony, symfony-bundle
Enqueue Bundle
[READ-ONLY] Message queue bundle for Symfony. RabbitMQ, Amazon SQS, Redis, Service bus, Async events, RPC over MQ and a lot more
Stars: ✭ 233 (-35.28%)
Mutual labels:  bundle, symfony, symfony-bundle
Mercure Bundle
The MercureBundle allows to easily push updates to web browsers and other HTTP clients in the Symfony full-stack framework, using the Mercure protocol.
Stars: ✭ 195 (-45.83%)
Mutual labels:  bundle, symfony, symfony-bundle
Easyadminbundle
EasyAdmin is a fast, beautiful and modern admin generator for Symfony applications.
Stars: ✭ 3,391 (+841.94%)
Mutual labels:  bundle, symfony, symfony-bundle
Sonatapagebundle
This bundle provides a Site and Page management through container and block services
Stars: ✭ 181 (-49.72%)
Mutual labels:  bundle, symfony, symfony-bundle
Lexiktranslationbundle
This Symfony2 bundle allow to import translation files content into the database and provide a GUI to edit translations.
Stars: ✭ 347 (-3.61%)
Mutual labels:  bundle, symfony, symfony-bundle
Twig Bundle
The Twig Bundle provides configuration for using Twig in your applications.
Stars: ✭ 2,150 (+497.22%)
Mutual labels:  bundle, symfony, symfony-bundle
Victoire
Fullstack Symfony CMS: The perfect mix between a framework and a CMS
Stars: ✭ 227 (-36.94%)
Mutual labels:  bundle, symfony, symfony-bundle
Nelmioapidocbundle
Generates documentation for your REST API from annotations
Stars: ✭ 2,009 (+458.06%)
Mutual labels:  bundle, symfony, symfony-bundle
Sonataadminbundle
The missing Symfony Admin Generator
Stars: ✭ 2,039 (+466.39%)
Mutual labels:  bundle, symfony, symfony-bundle
Fmelfinderbundle
📁 ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
Stars: ✭ 231 (-35.83%)
Mutual labels:  bundle, symfony, symfony-bundle
Liipthemebundle
Provides theming support for Symfony bundles
Stars: ✭ 292 (-18.89%)
Mutual labels:  bundle, symfony, symfony-bundle

LexikFormFilterBundle

This Symfony 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 Latest Stable Version SensioLabsInsight

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

This Symfony bundle is compatible with Symfony 4.3 or higher.

For Symfony 2.8/3.4 please use tags v5.*

For installation and how to use the bundle refer to Resources/doc/index.md

  1. Installation
  2. Configuration
  3. Provided form types
  4. Example & inner workings
    1. Simple example
    2. Inner workings
  5. Working with the filters
    1. Customize condition operator
    2. Filter customization
    3. Working with entity associations and embeddeding filters
    4. Doctrine embeddables
    5. Create your own filter type
    6. Enable validation on your filter type
  6. The FilterTypeExtension
  7. Working with other bundles
    1. KNP Paginator example

Community Support

Please consider opening a question on StackOverflow using the lexikformfilterbundle tag, it is the official support platform for this bundle.

Github Issues are dedicated to bug reports and feature requests.

Symfony 2.8 and 3.4

Please use last tag v5.*

Credits

License

This bundle is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].