PHP Gajus\Vlad\Validator Namespace

Classes

Name Description
Date Validates that string can be parsed using a date format.
Email Validate that input value is syntactically valid email address.
In Validate that input value is in the haystack.
Integer Validate that input is a string.
Length Validate that input string representation is of a specific length.
LengthMax Validate that input string representation is not longer than the specified length.
LengthMin Validate that input string representation is not shorter than the specified length.
NotEmpty Validate that input value is not empty.
RangeMaxExclusive Validate that a numeric input is at most of the given size (exclusive).
RangeMaxInclusive Validate that a numeric input is at most of the given size (inclusive).
RangeMinExclusive Validate that a numeric input is at least of the given size (exclusive).
RangeMinInclusive Validate that a numeric input is at least of the given size (inclusive).
Regex Validate that input is matched using a regular expression.
String Validate that input is a string.