appName = $appName; $this->request = $request; } /** * Index page - simple render without TemplateResponse * * @NoAdminRequired * @NoCSRFRequired */ public function index(): void { echo ''; echo ''; echo ''; echo ''; echo 'Mini-CMO Analytics Hub'; echo ''; echo ''; echo ''; echo '

✅ Mini-CMO Analytics Hub

'; echo '
Admin page is working!
'; echo '

App Name: ' . htmlspecialchars($this->appName) . '

'; echo '

Request Path: ' . htmlspecialchars($this->request->getPathInfo()) . '

'; echo '

Status: Controller successfully resolved and executed.

'; echo '
'; echo '

The app routing is now working correctly. You can now build the full admin UI with TemplateResponse, forms, and all the features.

'; echo '

Next steps:

'; echo ''; echo ''; echo ''; exit; } }