respect-validation/docs
Henrique Moody fd7438f9c7
Use a DI container to create instances of Validator
The `ValidatorDefaults` is cumbersome, and customising it can be
annoying. Most projects use some sort of dependency injection container,
and by integrating the creation of the `Validator` with the PSR-11, we
allow users to easily customise how they create validators.

Some tasks, like overwriting the `Translator`, become a bit more
verbose, if the user is not already using a PSR-11 container, but I
think that’s a good tradeoff.
2025-12-22 13:12:04 +01:00
..
rules Extend UUID rule support to versions 1 through 8 2025-05-27 14:54:20 +01:00
01-installation.md Bump PHP support from 8.1 to 8.5 2025-12-18 19:03:38 +01:00
02-feature-guide.md Rename "Consecutive" to "Circuit" 2024-12-20 16:53:56 +01:00
03-handling-exceptions.md Update some templates and improve tests 2024-12-27 15:55:55 +01:00
04-message-translation.md Use a DI container to create instances of Validator 2025-12-22 13:12:04 +01:00
05-message-placeholder-conversion.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
06-concrete-api.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
07-custom-rules.md Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
08-comparable-values.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
09-list-of-rules-by-category.md Handle names via the Named rule 2024-12-26 23:10:19 +01:00
10-license.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
index.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00