Documentation
Modules
Lightweight validator supporting Language Independent Validation Rules Specification (LIVR)
LIVR 2.5 rules of Validator::LIVR for hashes and lists: values, keys, list_length, unique and split
Common rules of Validator::LIVR: required, not_empty, not_empty_list and any_object
LIVR 2.5 rules of Validator::LIVR that depend on other fields: required_if and when
LIVR 2.5 rules of Validator::LIVR for dates and times: iso_date with bounds, iso_datetime and iso_time
LIVR 2.5 format and checksum rules of Validator::LIVR: uuid, ip, cidr, hostname, base64, hex, digest, mongo_id, hex_color, mac, e164, semver, jwt, luhn, credit_card and iban
Metarules of Validator::LIVR: nested_object, list_of, list_of_objects, variable_object, list_of_different_objects and or
Modifiers of Validator::LIVR: trim, to_lc, to_uc, remove, leave_only and default
Numeric rules of Validator::LIVR: integer, positive_integer, decimal, positive_decimal, min_number, max_number and number_between
Special rules of Validator::LIVR: email, url, iso_date and equal_to_field
String rules of Validator::LIVR: string, eq, one_of, min_length, max_length, length_equal, length_between and like
LIVR 2.5 rules of Validator::LIVR for types and strings: boolean, not_one_of, max_decimals, digits, starts_with, ends_with, contains and any