title: How to add validation custom messages with array items rules when validating array in Laravel?
body: <p>I've custom validation code:</p>
  
  <pre><code>$this-&gt;validate($request, [
      'array' =&gt; 'required|array|max:100',
      'array.*' =&gt; 'required|string|distinct|min:3'
  ], [
      'array.max' =&gt; 'Array can't have more :max items',
  ]);
  </code></pre>
  
  <p><strong>Here how I can add cusom message with array items rule?</strong></p>
  
  <p>For example: <code>'array.item.min' =&gt; 'Array items length can't be greater :min charackters'</code></p>
  
  <p>Example laravel default validation error message for array items:</p>
  
  <pre><code>{
    message: "The given data was invalid."
  }
  
  errors: {
    array.3: ["The array.3 must be at least 3 characters."]
  }
  
  array.3: ["The array.3 must be at least 3 characters."]
  
  0: "The array.3 must be at least 3 characters."
  message: "The given data was invalid."
  </code></pre>
  
  <p>How I can replace this validation message with my single message for array items?</p>