title: Lumen/Dingo API Dynamic Versioning
body: <p>I'm using Lumen for my project, currently the way I version my API is through prefixing and using a specific corresponding controller like so:</p>
  
  <pre><code>$api-&gt;get('/v1/users', 'App\Api\V1\Controllers\UserController@show');
  $api-&gt;get('/v2/users', 'App\Api\V2\Controllers\UserController@show');
  </code></pre>
  
  <p>I want to change this, such that I take an argument from the user and use a controller based on that parameter.</p>
  
  <pre><code>This Route:
  $api-&gt;get('/v{api_version}/users'...
  
  Should use this controller: 
  'App\Api\V{api_version}\Controllers\UserController@show'
  </code></pre>
  
  <p>I'm currently using Dingo along side Lumen, is there anyway to do this with either Lumen or Dingo?</p>