Workflow for developing PHP include modules

The best way is to create the module in the relevant page, after which it can be turned into an include as per