title: Laravel 5 PHP - filter results with input value
body: <p>I have this where I get all my tournaments <code>$tournaments = Tournament::all();</code>. Now I want to let the user filter these on the go in the view... I would like to have an <code>&lt;input&gt;</code> where the user enters a few characters and then the results filter on tournaments that have those characters in the name.  </p>
  
  <p>I have found <strong>this*</strong> online but I dont know how to populate that <code>$keyword</code>. It would be best if the results filter after every character that is entered in the inputfield. If this is not possible, then make this a form that sends this <code>$keyword</code> to Controller and retrieves the new results <strong>on the same page</strong>!<br>
  * <code>$tournament = Tournament::where('name', 'LIKE', '%'.$keyword.'%')-&gt;get();</code></p>
  
  <p>How do I do this? I don't know... Please provide some code in the answer.</p>
  
  <p>Thx</p>