rollerworks / search-symfony-validator
Symfony validator extension for RollerworksSearch
Requires
- php: >=8.1
- rollerworks/search: >=2.0.0-BETA3 ^2.0@dev
- symfony/validator: ^6.4 || ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.5.4
- symfony/phpunit-bridge: ^6.4 || ^7.0
- dev-main / 2.0.x-dev
- dev-master / 2.0.x-dev
- 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: 2024-11-18 09:37:23 UTC
README
This package provides the Symfony Validator extension for RollerworksSearch.
If you'd like to contribute to this project, please see the contributing guide lines for more information.
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
Note: The Symfony integration bundle for RollerworksSearch already enables the Symfony validator service. You don't need to do anything but configure your field's constraints.
This package provides the Symfony integration bundle for RollerworksSearch.
License
The source of this package is subject to the MIT license that is bundled with this source code in the file LICENSE.