title: How to add extra parameter with full url in laravel blade?
body: <p>I have a url with some query string. I know I can get the full string with <code>url()-&gt;full()</code>. But I want to add extra query string with it. And there I am facing problem.</p>
  
  <p>So far I have tried, <code>href={{ url()-&gt;full()."&amp;rating=5" }}</code> This is working fine if there is already some query data in the url. But if there is none then it is showing error. </p>
  
  <p>Example: If my url is <code>example.com/147?place=33</code> then it works but if my url is <code>example.com/147</code> then it doesn't work.</p>
  
  <p>I also tried, <code>href={{ url()-&gt;full()."?rating=5" }}</code>. This is working only in the opposite scenario. </p>
  
  <p>How can I <strong>append</strong> my own query string after the full url regardless of the existence of current query?</p>