validation-attributes.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Custom Validation Attributes
  6. |--------------------------------------------------------------------------
  7. |
  8. | The following language lines are used to swap our attribute placeholder
  9. | with something more reader friendly such as "E-Mail Address" instead
  10. | of "email". This simply helps us make our message more expressive.
  11. |
  12. */
  13. return [
  14. 'attributes' => [
  15. 'address' => 'Address',
  16. 'age' => 'Age',
  17. 'body' => 'Body',
  18. 'city' => 'City',
  19. 'content' => 'Content',
  20. 'country' => 'Country',
  21. 'date' => 'Date',
  22. 'day' => 'Day',
  23. 'description' => 'Description',
  24. 'email' => 'Email',
  25. 'excerpt' => 'Excerpt',
  26. 'first_name' => 'First Name',
  27. 'gender' => 'Gender',
  28. 'hour' => 'Hour',
  29. 'last_name' => 'Last Name',
  30. 'message' => 'Message',
  31. 'minute' => 'Minute',
  32. 'mobile' => 'Mobile',
  33. 'month' => 'Month',
  34. 'name' => 'Name',
  35. 'password' => 'Password',
  36. 'password_confirmation' => 'Password Confirmation',
  37. 'phone' => 'Phone',
  38. 'photo' => 'Photo',
  39. 'price' => 'Price',
  40. 'role' => 'Role',
  41. 'second' => 'Second',
  42. 'sex' => 'Sex',
  43. 'subject' => 'Subject',
  44. 'terms' => 'Terms',
  45. 'time' => 'Time',
  46. 'title' => 'Title',
  47. 'username' => 'Username',
  48. 'year' => 'Year',
  49. ],
  50. ];