title: Merging multiple errors on laravel validator
body: <p>I am using laravel validator. Here is my rules and error messages;</p>
  
  <pre><code>   $rules = array(
          'a' =&gt; 'required',
          'b' =&gt; 'required',
      );
      $messages = array(
          'required' =&gt; 'Missing parameter(s).',
     );
  
     $validator = Validator::make($postData, $rules, $messages);
  
     if ($validator-&gt;fails()) {
          $json['missing'] = array_keys($validator-&gt;failed());
  
     $messages = $validator-&gt;messages();
  
     foreach ($messages-&gt;all() as $message){
          $return['error'][] = $message."&lt;br&gt;";
     }
     }
  </code></pre>
  
  <p>When both inputs are empty it returns error message for multiple times.</p>
  
  <pre><code>Missing parameter(s).
  Missing parameter(s).
  </code></pre>
  
  <p>I want to get only one error message for per rule. How can i do that simply?</p>