The
validator function creates a new validator instance with the given arguments. You may use it as an alternative to the Validator facade: