I have organized my API routes into multiple php files. In the beginning of each, I define the API paths as variables.
$apiPublicBase = "/api/public/v1";
I am now looking to:
Define them in one place, once, for all route files.