title: Laravel 5.1 Routes that have question mark
body: <p>I'm trying to create a route in Laravel 5.1 that will search the records base on "keyword". I like to include a <code>?</code> in my url for more readability. The problem is that when I'm including the <code>?</code> and test the route with postman it returns nothing. But when I remove the <code>?</code> and replaced it with <code>/</code> and test it with postman again it will return the value of keyword. Does Laravel route supports <code>?</code>?</p>
  
  <pre><code>//Routes.php
  Route::get('/search?keyword={keyword}', [
      'as' =&gt; 'getAllSearchPublications', 
      'uses' =&gt; 'PublicationController@index'
  ]);
  
  //Publication Controller
  public function index($keyword)
  {
      return $keyword;
  }
  </code></pre>
  
  <p>I've been searching the internet for hours now and I've read the Laravel documentation, But I can't find the answer. Thank you.</p>