Routing is used to map url request to action handler, the simplest one is using route callback, routing configuration is located in app/routes.php

Route Parameter

Route parameter is part of the URL that will be passed to the callback as function argument

Optional route parameter

Route Group

Since SlimStarter is based on Slim, it lets you group related routes. This is helpful when you find yourself repeating the same URL segments for multiple routes.