rollerworks / search-symfony-validator
Symfony validator extension for RollerworksSearch
Package info
github.com/rollersearch/search-symfony-validator
pkg:composer/rollerworks/search-symfony-validator
Requires
- php: ^8.1
- rollerworks/search: >=2.0.0-BETA3 ^2.0@dev
- symfony/validator: ^6.4 || ^7.4 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^10.5
- symfony/phpunit-bridge: ^6.4 || ^7.4 || ^8.0
- dev-main / 2.0.x-dev
- dev-master / 2.0.x-dev
- v2.0.0-RC1
- v2.0.0-BETA14
- v2.0.0-BETA13
- v2.0.0-BETA12
- v2.0.0-BETA11
- v2.0.0-BETA10
- v2.0.0-BETA9
- v2.0.0-BETA8
- v2.0.0-BETA7
- v2.0.0-BETA6
- v2.0.0-BETA5
- v2.0.0-BETA4
- v2.0.0-BETA3
- v2.0.0-BETA2
- v2.0.0-BETA1
- v2.0.0-ALPHA23
- v2.0.0-ALPHA22
- v2.0.0-ALPHA21
- v2.0.0-ALPHA20
- v2.0.0-ALPHA19
- v2.0.0-ALPHA18
- v2.0.0-ALPHA17
- v2.0.0-ALPHA16
- v2.0.0-ALPHA15
- v2.0.0-ALPHA14
- v2.0.0-ALPHA13
- v2.0.0-ALPHA12
- v2.0.0-ALPHA11
- v2.0.0-ALPHA10
- v2.0.0-ALPHA9
- v2.0.0-ALPHA8
- v2.0.0-ALPHA6
- v2.0.0-ALPHA2
- v2.0.0-ALPHA1
- 1.x-dev
- v1.0.1
- v1.0.0
- v1.0.0-beta1
- dev-legacy
This package is auto-updated.
Last update: 2026-03-23 15:05:57 UTC
README
This package provides the Symfony Validator extension for RollerworksSearch.
If you'd like to contribute to this project, please go the main RollerworksSearch repository and read the Contributing section.
[!NOTE This validation is meant to be used for business rules like a minimum/maximum value range, or disallowing specific patterns. The data transformers already ensure the value is properly transformed.
Installation
To install this extension, add the rollerworks/search-symfony-validator
package in your composer.json and update your dependencies.
$ composer require rollerworks/search-symfony-validator
Symfony Framework Integration
The Symfony bundle for RollerworksSearch already enables the Symfony validator service. You don't need to do anything but configure your search field's constraints.
License
The source of this package is subject to the MIT license that is bundled with this source code in the file LICENSE.