title: Laravel, how to filter date in views?
body: <p>I have my views setup more or less like the picture below or can see it on jsfiddle <a href="https://jsfiddle.net/t37g4yzp/1/" rel="nofollow noreferrer">https://jsfiddle.net/t37g4yzp/1/</a></p>
  
  <p>How to filter the date in the table base on the user input <strong>Start Date</strong> and <strong>End date</strong> in views?</p>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>public function index()
  {
    $get_all_user = User::all();
    return view('userPage.index', compact('get_all_user'));
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bdWN7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bdWN7.jpg" alt="enter image description here"></a></p>