Valitron Versions Save

Valitron is a simple, elegant, stand-alone validation library with NO dependencies

v1.4.11

1 year ago
  • requireWith(out) now supports dot notation
  • translation fixes in various languages

Thank to all contributors!

v1.4.10

2 years ago
  • testing now runs as a github workflow
  • now also tested against PHP 8.0
  • improved handling of indexed/associative arrays

v1.4.9

3 years ago

Allow disabling of auto prepending the field labels

v1.4.8

3 years ago

Add support for SL language

v1.4.7

4 years ago

New rules requiredWith and requiredWithout for conditional requirements

v1.4.6

4 years ago

new rule listContains - Performs in_array check on given array values

v1.4.5

5 years ago

New rule arrayHasKeys

v1.4.4

5 years ago

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

v1.4.3

6 years ago

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

v1.4.2

6 years ago

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.