Level 80
@marcoshita I don’t really understand what it is you’re asking. Rules and messages for what? And what do you mean, you “want the petition to be Http”?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How can I make a request class with rules and error messages that doens't extends from Form Request, because I want the petition to be Http. I did it with validator and giving the rules inside the method but It's cleaner to have all inside de custom request class.
Please or to participate in this conversation.