AlwaysValid
February 3, 2026 ยท View on GitHub
AlwaysValid()
Validates any input as valid.
v::alwaysValid()->assert('whatever');
// Validation passes successfully
Templates
AlwaysValid::TEMPLATE_STANDARD
| Mode | Template |
|---|---|
default | {{subject}} must be valid |
inverted | {{subject}} must be invalid |
Template placeholders
| Placeholder | Description |
|---|---|
subject | The validated input or the custom validator name (if specified). |
Categorization
- Booleans
Changelog
| Version | Description |
|---|---|
| 0.5.0 | Created |