Skip to content
LuminEe edited this page Aug 16, 2017 · 3 revisions

Welcome to the Escalator!

I build this to rewrite Laravel controller dispatcher, so as to change namespace of route controller according to the version in header.

  • You just setting in the config file and build up your version controller, then it can work.
  • You are not have to care about the route file, and full version route is not necessary.
  • It can point to the nearest version although the given version is much greater.

You need set your controller namespace like: App\Http\Controllers\User\v1_0;

Clone this wiki locally