Lowercase

February 3, 2026 ยท View on GitHub

  • Lowercase()

Validates whether the characters in the input are lowercase.

v::stringType()->lowercase()->assert('xkcd');
// Validation passes successfully

Templates

Lowercase::TEMPLATE_STANDARD

ModeTemplate
default{{subject}} must consist only of lowercase letters
inverted{{subject}} must not consist only of lowercase letters

Template placeholders

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

Categorization

  • Strings

Changelog

VersionDescription
3.0.0Templates changed
0.3.9Created

See Also