Adding new Module Page - PMPluginDevelopers/Plug-On GitHub Wiki

Answer: easy

Create a new class extending \plugon\module\Module (reference: ExampleModule) The name of the Module is important because it will define the path how it's accessed. If code below produces true then link to access this page will be www.example.com/example

ExampleModule::getName() === 'example'

Register this module.

\plugon\registerModule(new ExampleModule(""));