qa-data / nette-symfony-validator
Symfony validator integration into Nette
v1.0
2024-10-02 10:29 UTC
Requires
- doctrine/annotations: ^2.0
- symfony/property-access: ^6.4
- symfony/property-info: ^6.4
- symfony/validator: ^6.4
README
Integrates Symfony Validator into Nette Framework.
Setup
NETTE Symfony Validator is available on composer:
composer require qa-data/nette-symfony-validator
At first register compiler extension.
extensions: symfonyValidator: QaData\NetteSymfonyValidator\DI\NetteSymfonyValidatorExtension
Configuration
symfonyValidator: cache: # optional directory: %tempDir%/cache/validator lifetime: 0 namespace: validator.cache