Graph

February 3, 2026 ยท View on GitHub

  • Graph()
  • Graph(string ...$additionalChars)

Validates if all characters in the input are printable and actually creates visible output (no white space).

v::graph()->assert('LKM@#$%4;');
// Validation passes successfully

Templates

Graph::TEMPLATE_STANDARD

ModeTemplate
default{{subject}} must consist only of printable non-spacing characters
inverted{{subject}} must not consist only of printable non-spacing characters

Graph::TEMPLATE_EXTRA

ModeTemplate
default{{subject}} must consist only of printable non-spacing characters or {{additionalChars}}
inverted{{subject}} must not consist only of printable non-spacing characters or {{additionalChars}}

Template placeholders

PlaceholderDescription
additionalCharsAdditional characters that are considered valid.
subjectThe validated input or the custom validator name (if specified).

Categorization

  • Strings

Changelog

VersionDescription
3.0.0Templates changed
0.5.0Created

See Also