Releases: affinity4/validate
Releases · affinity4/validate
v0.0.4
Added __validate__regex_patterns array property to store all validation regexes to make adding them easier
Added __validate__validation_error_messages array property to store all validation error messages to make it easier to keep them unified
Added after.string:pascalcase|camelcaps|studlycaps validator
v0.0.3
- Added type(numeric) validator for is_numeric validation
- Added type(string:alpha) validator for ctype_alpha validation (alphabet characters only)
- Added match($pattern) validator for regex matching (preg_match)
- Added replace($pattern, $replace) validator to allow simple regex replace functionality (preg_replace). NOTE: Replacement can be string only. No arrays
- Added type(string:kebabcase), type(string:snakecase), type(string:cobolcase), type(string:upperkebabcase), type(string:constantcase), type(string:macrocase) and type(string:uppersnakecase)