Skip to content

Routing keeps URLs clear and maps incoming requests to the right module, controller, and action.

Default path format ​

PhpTide’s default URL shape is:

php
/module/controller/action/var_name/var_value;

Why configure routes ​

Route definitions let you expose cleaner public URLs while keeping a stable internal module/controller/action structure.

This chapter ​

The next page explains how to declare routes in app/route.php and how path variables become request parameters.

PhpTide documentation