@extends('admin.layout.dashboard_master') @section('content') @if(isset($showPasswordForm) && $showPasswordForm) @include('admin.developer.password_form') @else

Developer Dashboard

@csrf
Log Content: {{ $selectedLog }}
{{ $logContent ?? 'No log content available' }}
Storage Information
{{ $storageUsage['percentage'] }}%

Total: {{ $storageUsage['total'] }}

Used: {{ $storageUsage['used'] }}

Free: {{ $storageUsage['free'] }}

Directory Contents
    @foreach($directoryContents as $item)
  • {{ $item['name'] }} {{ $item['type'] }}
  • @endforeach
Server Load
@if(function_exists('sys_getloadavg'))

1 Minute: {{ $serverLoad[0] }}

5 Minutes: {{ $serverLoad[1] }}

15 Minutes: {{ $serverLoad[2] }}

@else
Server load information is not available on Windows systems.
@endif
PHP Information
  • PHP Version: {{ phpversion() }}
  • Memory Limit: {{ ini_get('memory_limit') }}
  • Max Execution Time: {{ ini_get('max_execution_time') }}s
  • Upload Max Filesize: {{ ini_get('upload_max_filesize') }}

Developer Comments

Comment 1: Color codes are used in many files

Note: Consider centralizing color definitions in a CSS variables file for easier maintenance.

Comment 2: Don't run "php artisan migrate"

Note: Run specific migrations instead (e.g., php artisan migrate --path=/database/migrations/2025_08_07_123456_create_users_table.php)

Comment 3: After deployment, run the schedule work

Note: Run the command "php artisan schedule:work"

Comment 4: Missed orders can be checked in the log file

Note: Missed orders are automatically recorded in the log file

Security Logs & System Activities
@forelse($securityLogs ?? [] as $log) @empty @endforelse
Time Activity / Message
{{ $log->created_at->format('Y-m-d H:i:s') }}
{{ $log->created_at->diffForHumans() }}
{{ $log->message }}

No security events recorded in the system logs.

Real-time Error Monitor
Running
tail -f laravel.log Connecting...

                            
@if(config('developer.logs_password')) Logout @endif
@csrf {{-- --}}
@endif @endsection