@extends('layouts.admin.master') @section('content') @php $statusClass = [ 'ok' => 'success', 'warning' => 'warning', 'danger' => 'danger', ]; @endphp
Utility tomCHAT

Kesehatan Aplikasi

Pantau status inti aplikasi dan jalankan perintah maintenance Laravel yang aman untuk lokal maupun hosting live.

Versi aktif {{ get_version() ?: 'Belum diatur' }}
@if (session('app_health_result')) @php($result = session('app_health_result'))
{{ $result['message'] }}
Aksi: {{ $result['action'] }} | Exit code: {{ $result['exit_code'] }}
{{ $result['output'] }}
@endif
Status Sistem

Ringkasan cepat sebelum atau sesudah upload ke hosting.

@foreach ($health['checks'] as $check) @php($class = $statusClass[$check['status']] ?? 'secondary')
{{ $check['label'] }} {{ $check['value'] }}

{{ $check['description'] }}

@endforeach
Info Aplikasi

Nilai yang sedang terbaca dari konfigurasi dan runtime server.

@foreach ($health['summary'] as $item)
{{ $item['label'] }} {{ $item['value'] }}
@endforeach
Maintenance Artisan

Tombol di bawah menjalankan command Laravel dari server yang sedang aktif. Semua aksi memakai POST dan CSRF.

@foreach ($commands as $key => $command)
{{ $command['label'] }}

{{ $command['description'] }}

@csrf
@endforeach
Catatan live hosting: gunakan Migrate Force hanya setelah file migration terbaru sudah diupload dan database hosting sudah diarahkan ke environment yang benar.
@endsection @section('stylesheet') @endsection @section('javascript') @endsection