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.
To install this extension, add the rollerworks/search-symfony-validator
package in your composer.json and update your dependencies.
$ composer require rollerworks/search-symfony-validatorThe Symfony bundle for RollerworksSearch already enables the Symfony validator service. You don't need to do anything but configure your search field's constraints.
The source of this package is subject to the MIT license that is bundled with this source code in the file LICENSE.