Namespace Flikore\Validator\Validators
Classes summary
AfterDateTimeValidator | Validates that a date/time is after a given reference. |
AlphaNumericValidator | Validates if a string contains only alphabetic and numeric characters (this ignore spaces). |
AlphaValidator | Validates if a string contains only alphabetic characters (this ignore spaces). |
BeforeDateTimeValidator | Validates that a date/time is before a given reference. |
DateTimeValidator | Validates that the value is a valid date/time. |
DateValidator | Validates that the value is a valid date/time. |
EmailValidator | Validates if a string is a valid email address. |
EqualsValidator | Validates if a value is equal to another. |
ExactLengthValidator | Validates that the number of characters of the value is exactly a given amount. |
ExactValueValidator | Validates that a number is exactly a certain value. |
GreaterThanValidator | Validates that a number is greater than a given value. |
InstanceOfValidator | Validates that the value is an instance of a certain class. |
IPv4Validator | Validates if a string is a valid IPv4 address. |
IPv6Validator | Validates if a string is a valid IPv6 address. |
LengthBetweenValidator | Validates that the number of characters of the value is between a certain range. |
LessThanValidator | Validates that a number is lesser than a given value. |
LetterNumericValidator | Validates that a string contains only letters (including foreign ones) and numbers. This ignores spaces. |
LetterValidator | Validates that a string contains only letters (including foreign ones). This ignores spaces. |
MaxDateTimeValidator | Validates that a date/time is equal or before given reference. |
MaxLengthValidator | Validates that the number of characters of the value is at most a given amount. |
MaxValueValidator | Validates that a number is equal or lesser than a given value. |
MinAgeValidator | Validates that the given date is at least a certain number of years ago. |
MinDateTimeValidator | Validates that a date/time is equal or after a given reference. |
MinLengthValidator | Validates that the number of characters of the value is at least a given amount. |
MinValueValidator | Validates that a number is equal or greater than a given value. |
NoSpaceValidator | Validates that a string contains no spaces (this includes tabs and new lines). |
NotEmptyValidator | Validates that a value is not empty. An empty value is null, empty string or empty array. |
NotEqualsValidator | Validates that a value is not equal to another. |
NumericValidator | Validates that a given value is numeric. |
OrValidator | Validates that the value pass in at least one of the given validators. |
RecursiveValidator | Validates that each of the elements of an array pass a validator. |
RegexValidator | Validates if a string matches a given regular expression |
UriValidator | Validates if a string is a valid URI. |
ValueBetweenValidator | Validates that the value is between a certain range. |