1. Go to this page and download the library: Download phore/status-page library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
phore / status-page example snippets
namespace App;
use Phore\StatusPage\PageHandler\NaviButtonWithIcon;
use Phore\StatusPage\StatusPageApp;
"];
}, new NaviButtonWithIcon("Home", "fas fa-home"));
$app->serve();
$app = new BasicAuthStatusPageApp();
$app->allowUser("admin", "admin");