mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 23:59:51 +01:00
No description
- PHP 99.1%
- Shell 0.9%
The way we display messages could have been better, and it took me a while to realise that to make it better, I would need to handle the siblings of a result before deciding whether we should render it. Another issue was that rules like Key and Property had to create a "dumb" parent just so we would display the messages correctly, and in some cases, that wasn't even enough. This commit introduces quite a few changes to how the library works, making the messages much more straightforward. |
||
|---|---|---|
| .github | ||
| bin | ||
| data/domain/public-suffix | ||
| docs | ||
| library | ||
| tests | ||
| .docheader | ||
| .gitattributes | ||
| .gitignore | ||
| .readthedocs.yaml | ||
| CHANGELOG.md | ||
| composer.json | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| mkdocs.yml | ||
| phpcs.xml.dist | ||
| phpstan.neon.dist | ||
| phpunit.xml.dist | ||
| README.md | ||
Respect\Validation
The most awesome validation engine ever created for PHP.
- Complex rules made simple:
v::numericVal()->positive()->between(1, 255)->isValid($input). - Granularity control for advanced reporting.
- More than 150 (fully tested) validation rules.
- A concrete API for non fluent usage.
Learn More: