@meduz I have not use either of them, but these two look pretty good (besides Symfony’s and Laravel’s):
https://github.com/particle-php/Validator
https://github.com/Respect/Validation
Lately, I have been using a combination of a datamapper (cuyz/valinor), with custom Value Objects and Symfony’s validator component (not the form one).
I explain it here: https://dev.to/rubenrubiob/clean-controllers-in-symfony-iii-request-handling-3h79
It is specific for Symfony, but it could be applied to other frameworks.
=> More informations about this toot | View the thread | More toots from rubenrubiob@phpc.social
=> View meduz@m.nintendojo.fr profile
text/gemini
This content has been proxied by September (3851b).