Laravel - Validation - Specifying A Custom Message For A Given Attribute

Sometimes you may wish to specify a custom error message only for a specific attribute. You may do so using "dot" notation. Specify the attribute's name first, followed by the rule:

    
    $messages = [
        'email.required' => 'We need to know your email address!',
    ];