Laravel - Validation - Rule Bail

Stop running validation rules for the field after the first validation failure.

While the bail rule will only stop validating a specific field when it encounters a validation failure, the stopOnFirstFailure method will inform the validator that it should stop validating all attributes once a single validation failure has occurred:

    
    if ($validator->stopOnFirstFailure()->fails()) {
        // ...
    }