PhpStorm
 
Get PhpStorm

Routes

Last modified: 17 June 2024

One of the cornerstones of developing a Symfony application is working with routes. The routing infrastructure ensures that we can use readable URLs (for example, /products/hammer instead of index.php?page=products&productid=12345) and that these URLs are mapped to a controller in our application that can respond to requests.

The Symfony Support plugin provides several facilities for working with routes.