title: How to validate url in laravel using validation rule
body: <p>I want  to validate a website address using php validate url function but i dont know how to achieve this. BTW i tried in this way but it doesnot work.</p>
  
  <pre><code>$url=filter_var($request-&gt;website, FILTER_VALIDATE_URL);
  'website' =&gt; 'required|same:,'.$url
  </code></pre>
  
  <p>if someone can help me it would be great.</p>