-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Branch: epic/0.6.x
Release 0.6.0 should extend Release 0.5.0 #7 and add:
- cloudflare support
- create an example project in the examples directory
New Rules
between:min, max
The field under validation must have a size between the given min and max (inclusive). Strings, numerics, arrays, and files are evaluated in the same fashion as the size rule.
hex_color
The field under validation must contain a valid color value in hexadecimal format.
present
The field under validation must exist in the input data.
present_if:anotherfield,value,...
The field under validation must be present if the anotherfield field is equal to any value.
present_unless:anotherfield,value
The field under validation must be present unless the anotherfield field is equal to any value.
present_with:foo,bar,...
The field under validation must be present only if any of the other specified fields are present.
present_with_all:foo,bar,...
The field under validation must be present only if all of the other specified fields are present.