no-framework-tutorial/5-router.md
2014-09-13 10:08:21 +02:00

657 B

<< previous

Router

With your current setup it does not matter what URL is used to access the application, it will always result in the same response. So let's fix that now.

I will use FastRoute in this tutorial. But as always, you can pick your own favorite package.

Alternative packages: symfony/Routing, Aura.Router, fuelphp/routing, Klein

By now you know how to install composer packages, so I will leave that to you.

to be continued...