Documentation: https://hypervel.org/docs/validation
- String rule parameters use standard CSV quoting with literal backslashes. See rule parameters.
- The
encodingrule rejects numbers, booleans, and non-nullablenull; it does not coerce scalar values to strings. - Date comparison rules allow a referenced field to be missing or
nullunless it is also required. Unparseable date strings and invalid referenced values fail validation instead of being compared withnull. - Rule keys may escape a literal asterisk as
\*, matching the existing\.literal-dot syntax. - Laravel's deprecated
InvokableRulecontract is not provided. ImplementValidationRuleand itsvalidate()method instead.
Ported from: https://github.com/laravel/framework