Admin apps are plug 'n play. An app is defined by a folder named .app for suffix e.g. admin/myapp.app/. Inside the folder you need to create a configuration file config.inc.php that defines the app and pages inside it. See below for an example.
return [ 'name' => 'My App', 'default' => 'example', // The default page to display when opening the app 'priority' => 0, 'theme' => [ 'color' => '#999999', 'icon' => 'fa-star', // Fonticon ], // Submenu items (optional) 'menu' => [ [ 'title' => 'Example page', 'doc' => 'example', ], //... ], // Mapped docs to files 'docs' => [ 'example' => 'example.inc.php', ], ];
<h1><?php echo $app_icon; ?> My App</h1> <p>Lorem ipsum dolor</p>
Hard refresh the page to reload the list of apps. Ctrl + F5