Core Modules
HelloWorld Module
Purpose
Example/reference module demonstrating the minimal StrataPHP module structure and route wiring.
Enablement Key
- Uses direct route registration in module routes file.
Key Features
- Simple controller action and view rendering
- Two public demo routes
Primary Routes
- GET /helloworld
- GET /hello
Important Files
- public_html/modules/HelloWorld/routes.php
- public_html/modules/HelloWorld/controllers/HelloWorldController.php
- public_html/modules/HelloWorld/models/HelloWorld.php
- public_html/modules/HelloWorld/views/hello.php
- public_html/modules/HelloWorld/README.md
Notes
- Best used as a scaffold/template for new modules, not production functionality.