Download the PHP package dhii/validator without Composer
On this page you can find all versions of the php package dhii/validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dhii/validator
More information about dhii/validator
Files in dhii/validator
Download dhii/validator
More information about dhii/validator
Files in dhii/validator
Vendor dhii
Package validator
Short Description A thin, standards-compliant validator implementation.
License MIT
Package validator
Short Description A thin, standards-compliant validator implementation.
License MIT
Please rate this library. Is it a good library?
Informations about the package validator
Dhii - Validator
A thin, standards-compliant validator implementation of dhii/validation-interface
.
Details
This is a super-lightweight validation library that allows easy creation of validation structures of arbitrary depth.
Examples
A validator ensures values are valid usernames. It is a composite validator, comprised of 2 simple validators:
- Ensures values are alphanumeric strings.
- Ensures value lengths are less than or equal to 30 characters.
This validator hierarchy throws a hierarchy of exceptions when failing:
- Composite validator's failure exception reports how many failures occurred, and exposes failure exceptions from the simple validators.
- Those in turn report what exactly was invalid.
All versions of validator with dependencies
PHP Build Version
Package Version
The package dhii/validator contains the following files
Loading the files please wait ....