waaseyaa / validation
Data validation constraints and validators for Waaseyaa
Requires
- php: >=8.5
- symfony/validator: ^7.0
- waaseyaa/typed-data: ^0.1.0-alpha.256
Requires (Dev)
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2026-07-06 21:32:33 UTC
README
Layer 0 — Foundation
Input validation for Waaseyaa applications.
Builds on Symfony Validator (symfony/validator) with a set of Waaseyaa-specific constraints for validating request data, entity field values, and configuration inputs. The package ships constraints + a factory, not a wrapper validator: there is no ValidatorInterface/ValidationResult/ValidationViolation here — you run the constraints through Symfony's own Validator (which returns Symfony ConstraintViolations).
Key classes: ConstraintFactory, and the constraint set under Constraint/ — AllowedValues, EntityExists, NotEmpty, SafeMarkup, UniqueField (each with its paired *Validator).