title: Laravel get queries from url
body: <p>How do I get all query parameters from the url?</p>
  
  <p>So let's say the url is:</p>
  
  <p><a href="http://website.com?page=1&amp;?forum=test" rel="nofollow noreferrer">http://website.com?page=1&amp;?forum=test</a></p>
  
  <p>I need this part in my controller:</p>
  
  <p><a href="http://website.com" rel="nofollow noreferrer">http://website.com</a><strong>?page=1&amp;?forum=test</strong></p>
  
  <p>the query parameters can be different with every request. So <code>Input::get('page');</code> or <code>Input::get('forum');</code>does not help because I 
  don't know what to can expect. </p>
  
  <p>Already looked at the <a href="https://laravel.com/docs/5.4/requests" rel="nofollow noreferrer">docs</a> but I can't find it. </p>
  
  <p>Thanks</p>