digicomp/settingvalidator

Last activity 18 Feb 2023 1 4451
composer require digicomp/settingvalidator

Just a Neos\Flow Validator resolving other Validators with Configuration/Validation.yaml

3.1.1

Homepage
https://github.com/digital-competence/DigiComp.SettingValidator
Version
3.1.1
Type
neos-package
Release Date
Feb 18, 2023 23:01
Source
git
Distribution
zip
Requires
  • neos/flow: ^6.3.5 | ^7.0 | ^8.0
  • php: >=7.4
Requires (dev)
  • phpunit/phpunit: ~8.5
MIT
  • #flow
  • #validation
  • #neos
a3209c69760428015db9be675cf5470f4a79f76b

Readme excerpt

DigiComp.SettingValidator

This package allows configuring validators with a new configuration type.

Introduction

This package provides the SettingsValidator which uses the configuration type Validation to resolve the validators that should be applied to the value. It distinguishes between validators that are applied to the value itself and its properties.

Resolving the validation configuration

The SettingsValidator has an option name. If it is set, the name is used to resolve the validation configuration, otherwise the type of the value is used, which is mainly useful for objects where the FQCN is used.

Resolving by option name

To resolve the validation c…
Read more

The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 9 package(s).