symfony3 Routing


A route is like mapping a URL to an action (function) in a Controller class. The following topic will focus on creating routes, passing parameters to the Controller class via a route either using YAML or annotation.


It's useful to see what is generated by Symfony framework, this one provide tools to watch all routes of an specific application.

From the Symfony Doc, use (in a shell) :

php bin/console debug:router

As well, you can watch all the relevant routes informations in the Framework profiler, in the routing menu : Symfony Profiler