title: Laravel group routing with parameter
body: <p>I have this group in my route:
  }</p>
  
  <pre><code>Route::group(['prefix' =&gt; 'v1/en'], function() {}
  </code></pre>
  
  <p>is it possible to change the 'en' segment uri in a parameter, so it can be changed depending on the request? Something like this:</p>
  
  <pre><code>Route::group(['prefix' =&gt; 'v1/{lang}'], function() {}
  </code></pre>