Email validation rule in Laravel?
<p>I do email validation using the simple rule:</p>

<pre><code>'email' =&gt; 'required|email|unique:users,email',
</code></pre>

<p>How do I modify the option <code>unique</code> so that it will work only if the entered email is different from the primordial?</p>

<p><strong>A sample:</strong></p>

<p>The field <code>email</code> contains the default value from table <code>users</code>: <code>example@gmail.com</code></p>

<p>Then I push the button without making any changes in the form I should not check <code>unique:users</code>.</p>

<p>Otherwise, if I even changed one symbol in <code>example@gmail.com1</code> I must validate the incoming value using: <code>unique:users</code>.</p>