title: Laravel Illuminate\Validation\Rule not found
body: <p>I am trying to submit a form and validate the content.
  In one of the requests I need to make a special rule.
  I followed the documentation and it says to use unique and declare a Rule.</p>
  
  <pre><code>use Illuminate\Validation\Rule;
  
  Validator::make($data, [
  'email' =&gt; [
      'required',
      Rule::unique('users')-&gt;ignore($user-&gt;id),
  ],
  ]);
  </code></pre>
  
  <p>I am trying with the example from the documentation, but all I get it this error:</p>
  
  <pre><code>Class 'Illuminate\Validation\Rule' not found
  </code></pre>
  
  <p>I declared the line</p>
  
  <pre><code>use Illuminate\Validation\Rule;
  </code></pre>
  
  <p>In my controller, but the error is still there.</p>