title: Laravel how to validate data in one row, not checking in whole table
body: <p>I'm not sure if I explained briefly what's the problem is about. 
  I have a user voting form in which user passes his first name,surname,mothers' surname, and ID.</p>
  
  <p>I have also a table <code>users</code> which stores all this data. Yesterday I found a bug or I misunderstood how laravel validation works because it passes submit every time when it find all the data existing in table.</p>
  
  <p>This is a table with two records. </p>
  
  <p><strong>EXAMPLE</strong></p>
  
  <p>What i expected from validation was to check if the ID=98111091239 name=Andrzej surname=Pianowski and mother surname =Mila and only if everything is correct and exists in one row then the vote can be made.</p>
  
  <p>Instead i can pass ID from first row, other things from second and it also will allow user to vote.
  Is that a bug, laravel works that way or what?
  I'm really looking forward for any tip,help,sugestions.</p>
  
  <p><a href="https://i.stack.imgur.com/gbOte.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gbOte.png" alt="enter image description here"></a></p>
  
  <p>And here's validation rule i'm using</p>
  
  <pre><code>  /*This validates whether all data is correct  */
     $validator = Validator::make($request-&gt;all(),[
     //check whether such pesel exists in votes and in voters
         'pesel' =&gt;'required|exists:wyborca|max:11|min:11',
         'imie' =&gt;'required|exists:wyborca|max:64|min:2',
         'nazwisko' =&gt; 'required|exists:wyborca|max:128|min:2',
         'nazwisko_matki' =&gt; 'required|exists:wyborca|max:128|min:2'
         ]);
    if($validator-&gt;fails())
    {
      return back()
        -&gt;with('errors','Wprowadzono nieprawidłowe dane')
        -&gt;withInput();
    }
  </code></pre>