You can't, not without wrapping Laravel's validator class with your own. I generally use something like this:
https://gist.github.com/thepsion5/9bccc8d05a36ef2c4453
You could easily edit my code and add a beforeValidation(array $input) function. You could perform extra steps and then set errors and return false if there's a problem.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community