AlwaysValid

February 3, 2026 ยท View on GitHub

  • AlwaysValid()

Validates any input as valid.

v::alwaysValid()->assert('whatever');
// Validation passes successfully

Templates

AlwaysValid::TEMPLATE_STANDARD

ModeTemplate
default{{subject}} must be valid
inverted{{subject}} must be invalid

Template placeholders

PlaceholderDescription
subjectThe validated input or the custom validator name (if specified).

Categorization

  • Booleans

Changelog

VersionDescription
0.5.0Created

See Also