This Symfony2 bundle aims to provide classes to build a form filter and then build a doctrine query from this form filter.
The idea is:
- Create a form type extending from
Symfony\Component\Form\AbstractType
as usual - Add form fields by using filter types instead of form types (e.g. use
filter_text
instead oftext
type) - Then call a service to build the query from the form instance.
The master
branch is now compatible with Symfony 2.1, if you are using Symfony 2.0.x use the symfony2.0
branch.
For installation and how to use the bundle refer to Resources/doc/index.md