sergiors / form-filter-service-provider
dev-master
2016-07-27 04:01 UTC
Requires
- php: >=5.5
- lexik/form-filter-bundle: ^5.0
- silex/silex: ^2
- symfony/form: ^2.7|~3.0
Requires (Dev)
- pdepend/pdepend: ~2.0
- phing/phing: ~2.10
- phploc/phploc: ~2.1
- phpmd/phpmd: ~2.2
- phpunit/phpunit: ^4.8
- sebastian/phpcpd: ~2.0
- squizlabs/php_codesniffer: ~2.1
This package is not auto-updated.
Last update: 2024-11-07 00:48:11 UTC
README
To see the complete documentation, check out lexik/LexikFormFilterBundle
Install
composer require sergiors/form-filter-service-provider "dev-master"
use Sergiors\Silex\Provider\FormFilterServiceProvider; $app->register(new FormFilterServiceProvider()); $form = $app['form.factory'] ->createBuilder(/.../) ->getForm() ->handleRequest($req); $query = /.../; $app['form_filter']->addFilterConditions($form, $query);
License
MIT