Valitron is a simple, elegant, stand-alone validation library with NO dependencies
Thank to all contributors!
Allow disabling of auto prepending the field labels
Add support for SL language
New rules requiredWith and requiredWithout for conditional requirements
new rule listContains - Performs in_array check on given array values
New rule arrayHasKeys
Fixed a bug[#262] where array elements where considered required when any rule was applied to them New rules for dealing with arrays: subset and containsUnique Languages: new string in Lithuanian, Norwegian Bokmål added Additional documentation and comments
New languages: Lithuanian, Swedish, Korean New option to stop validating when the first error is encountered Support for nested arrays for 'equals' and 'different' rules Enhanced tests
The validateRequired method required $fields to be an array, and this broke compatibility with objects that implement PHP's ArrayAccess interface.
Please note that while ArrayAccess-objects will probably work most of the time, Valitron is meant to be used with actual arrays.