<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vinevax / laravel-dashboard-uptime-robot-tile example snippets
// in config/dashboard.php
return [
// ...
'tiles' => [
/* Monitors should be an array with ids of your monitors you want to display */
'uptimerobot' => [
'key' => env('UPTIMEROBOT_KEY'),
'blade' => 'multiple', // Or `multiple` for alternative tile
'monitors' => [],
'monitor_types' => [
1 => 'URL',
2 => 'Keyword',
3 => 'Ping',
4 => 'Port',
5 => 'Heartbeat'
],
'uptime' => 1 // Set to 0 if fetching from Uptime Robot API lags
]
]
];
// in app/console/Kernel.php
protected function schedule(Schedule $schedule)
{
$schedule->command(\VineVax\UptimeRobotTile\Commands\FetchUptimeRobotDataCommand::class)->everyFiveMinutes();
}
dashboard.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.