title: Laravel get query string
body: <p>I have the following url 
  <code>http://project.su/?invitee=95</code></p>
  
  <p>first i want to check the <code>invitee</code> in url, if the url have <code>invitee</code> then get the value.</p>
  
  <p>What i have tried (controller) :</p>
  
  <pre><code>if(!empty($request-&gt;get('invitee'))){
     $user-&gt;invitee = $request-&gt;get('invitee');
  }
  </code></pre>
  
  <p>The following code is not working .</p>
  
  <p>I want storing the <code>invitee</code> result(id) in database.</p>
  
  <p>Thanks.  </p>