Finding out available MidCOM routes

cover image for Finding out available MidCOM routes

MidCOM is a PHP MVC framework where you create a site by building a tree structure and assigning components for the various folders. Each component is its own PHP application that can handle all URL requests under that folder using a set of configured routes.

In addition to making normal requests to the various routes available, routes provided by other folders can be loaded dynamically anywhere on the site. This is useful for instance for loading five latest news items to front page.

To make life easier, I now added a new feature to, the online help component. Each folder will automatically list their documentation and available routes when you access their URL __ais/help: routes list

To get this feature you only need to upgrade the help component:

# pear upgrade midcom/midcom_admin_help

Read more Midgard posts.