Laravel - Validation - Customizing The Validation Attributes

Many of Laravel's built-in validation rule error messages contain an :attribute placeholder. If you would like the :attribute placeholder of your validation message to be replaced with a custom attribute name, you may specify the custom names by overriding the attributes method. This method should return an array of attribute / name pairs:

     * Get custom attributes for validator errors.
     * @return array
    public function attributes()
        return [
            'email' => 'email address',