count(); $avgResponseMs = (int) Site::avg('response_ms'); $updatesPending = (int) Site::sum('updates_pending'); $blocked24h = SecurityEvent::where('occurred_at', '>=', now()->subDay())->count(); $serversTotal = Server::count(); $sites = Site::query() ->with('server') ->orderByDesc('visitors_24h') ->limit(8) ->get(); $activities = Activity::query() ->orderByDesc('occurred_at') ->limit(8) ->get(); return compact( 'sitesTotal', 'sitesOk', 'avgResponseMs', 'updatesPending', 'blocked24h', 'serversTotal', 'sites', 'activities', ); } }; ?>
| Site | WP / PHP | Besucher 24h | Response | Status |
|---|---|---|---|---|
|
{{ mb_substr($site->domain, 0, 1) }}
|
WP {{ $site->wp_version }} · PHP {{ $site->php_version }} | {{ number_format($site->visitors_24h, 0, ',', '.') }} | {{ $site->response_ms }}ms | {{ $site->status }} |