@php $statusClasses = [ 'healthy' => 'bg-green-100 text-green-700 border-green-200', 'warning' => 'bg-yellow-100 text-yellow-700 border-yellow-200', 'failed' => 'bg-red-100 text-red-700 border-red-200', ]; $statusDotClasses = [ 'healthy' => 'bg-green-500', 'warning' => 'bg-yellow-500', 'failed' => 'bg-red-500', ]; $overallBannerClass = match ($overallStatus) { 'healthy' => 'bg-gradient-to-r from-green-700 via-green-600 to-emerald-500', 'warning' => 'bg-gradient-to-r from-green-600 via-orange-500 to-blue-400', 'failed' => 'bg-gradient-to-r from-red-700 via-red-600 to-rose-500', default => 'bg-gradient-to-r from-slate-800 via-slate-700 to-slate-600', }; $overallLabel = match ($overallStatus) { 'healthy' => 'All Systems Operational', 'warning' => 'Some Systems Need Attention', 'failed' => 'System Problems Detected', default => 'System Status Unknown', }; @endphp

Overall Status

{{ $overallLabel }}

ChurchXtra completed checks for the database, storage, queue, SMTP configuration, SMS provider and scheduler heartbeat.

{{ number_format($healthyCount) }}

Healthy

{{ number_format($warningCount) }}

Warning

{{ number_format($failedCount) }}

Failed

Database

{{ $database['label'] }}

{{ ucfirst($database['status']) }}
Driver
{{ $database['driver'] ?? 'Unknown' }}
Database
{{ $database['database'] ?? 'Unknown' }}

{{ $database['message'] }}

Storage

{{ $storage['label'] }}

{{ ucfirst($storage['status']) }}
Disk
{{ $storage['disk'] }}
Free Space
{{ $storage['free_space'] }}
Total Space
{{ $storage['total_space'] }}

{{ $storage['message'] }}

Queue

{{ $queue['label'] }}

{{ ucfirst($queue['status']) }}
Connection
{{ $queue['connection'] }}
Pending Jobs
{{ number_format($queue['pending_jobs']) }}
Email Jobs
{{ number_format($queue['email_jobs']) }}
SMS Jobs
{{ number_format($queue['sms_jobs']) }}
Failed Jobs
{{ number_format($queue['failed_jobs']) }}

{{ $queue['message'] }}

Email / SMTP

{{ $mail['label'] }}

{{ ucfirst($mail['status']) }}
Host
{{ $mail['host'] ?: 'Not configured' }}
Port
{{ $mail['port'] ?: 'N/A' }}
Username
{{ $mail['username'] ?: 'Not configured' }}
From Address
{{ $mail['from_address'] ?: 'Not configured' }}

{{ $mail['message'] }}

SMS Provider

{{ $sms['label'] }}

{{ ucfirst($sms['status']) }}
Provider
{{ $sms['provider'] }}
Sender ID
{{ $sms['sender_id'] ?: 'Not configured' }}

{{ $sms['message'] }}

Scheduler

{{ $scheduler['label'] }}

{{ ucfirst($scheduler['status']) }}
Last Heartbeat
{{ $scheduler['last_run'] ? $scheduler['last_run']->format('d M Y, h:i:s A') : 'Not recorded' }}

{{ $scheduler['message'] }}

Application Information

Runtime and environment details.

Application
{{ $application['application_name'] }}
Environment
{{ ucfirst($application['environment']) }}
Debug Mode
{{ $application['debug'] ? 'Enabled' : 'Disabled' }}
Laravel
{{ $application['laravel_version'] }}
PHP
{{ $application['php_version'] }}
Timezone
{{ $application['timezone'] }}
Memory Limit
{{ $application['memory_limit'] }}
Upload Limit
{{ $application['upload_limit'] }}
Post Limit
{{ $application['post_limit'] }}

Maintenance Actions

Administrative tools for cache and queue maintenance.

@if(auth()->user()?->hasRole('Super Admin'))
@csrf
@csrf
@csrf @method('DELETE')
@else
Maintenance actions are restricted to Super Administrators.
@endif