Laravel - Validation - Specifying Attribute In Language Files
Many of Laravel's built-in error messages include an :attribute
placeholder that is replaced with the name of the field or attribute under validation. If you would like the :attribute
portion of your validation message to be replaced with a custom value, you may specify the custom attribute name in the attributes
array of your resources/lang/xx/validation.php
language file:
'attributes' => [
'email' => 'email address',
],