title: How to pass default values to controller by routing in Laravel 5?
body: <p>In laravel, if I want to pass parameters to a controller in my route file<br>
  </p>
  
  <pre><code>Route::get('user/sk/{id}'  , 'UsersController@findsk');
  </code></pre>
  
  <p>If I want to pass default parameters:
  </p>
  
  <pre><code>Route::get('user/{name?}', function ($name = 'John') {
  
       // how do I invoke my controller here?
  
       return $name;
  
  });
  </code></pre>
  
  <p>How do I merge the two things? Is there a shortcut?
  </p>
  
  <pre><code>Route::get('user/sk/{id}'  , 'UsersController@findsk'
  
     // can I add an array of default parameters here?
  
  );
  </code></pre>