mirror of
https://github.com/Respect/Validation.git
synced 2026-03-14 22:35:45 +01:00
No description
- PHP 99.1%
- Shell 0.9%
The Formatted validator decorates another validator to transform how input values appear in error messages, while still validating the original unmodified input. This is useful for improving the readability of error messages by displaying values in a user-friendly formatd. The validator accepts any Respect\StringFormatter\Formatter implementation, allowing direct use of StringFormatter's fluent builder. As StringFormatter expands with more formatters in future releases, users will automatically benefit from the full range of formatting options. Assisted-by: Claude Code (Opus 4.5) |
||
|---|---|---|
| .github | ||
| bin | ||
| data | ||
| docs | ||
| LICENSES | ||
| src | ||
| src-dev | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .readthedocs.yaml | ||
| aliases.php | ||
| codecov.yml | ||
| composer.json | ||
| composer.lock | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| mkdocs.yml | ||
| phpbench.json.dist | ||
| phpcs.xml.dist | ||
| phpstan.neon.dist | ||
| phpunit.xml.dist | ||
| README.md | ||
| REUSE.toml | ||
Respect\Validation
The most awesome validation engine ever created for PHP.
- Complex validation made simple:
v::numericVal()->positive()->between(1, 255)->isValid($input). - Advanced exception handling.
- More than 150 (fully tested) validators.
Learn More: