@extends('layouts.admin') @section('title', 'Mantenimiento del sistema | Liud Panel') @section('page_title', 'Mantenimiento del sistema') @section('css') @endsection @section('content')
Herramientas administrativas

Mantenimiento del sistema

Ejecuta tareas seguras de Laravel sin ingresar a la terminal. Cada acción queda registrada en Auditoría.

Ambiente {{ strtoupper($systemInfo['environment']) }}
Laravel{{ $systemInfo['laravel'] }}
PHP{{ $systemInfo['php'] }}
Caché{{ $systemInfo['cache'] }}
Colas{{ $systemInfo['queue'] }}
Debug{{ $systemInfo['debug'] ? 'ACTIVO' : 'DESACTIVADO' }}
@if(session('maintenance_result')) @php($result = session('maintenance_result'))
Último resultado

{{ $result['title'] }}

php artisan {{ $result['signature'] }}{{ $result['signature'] === 'migrate' ? ' --force' : '' }} · salida {{ $result['exit_code'] }} · {{ $result['duration_ms'] }} ms

{{ $result['output'] }}
@endif @foreach($commandGroups as $category => $commands)
{{ str_pad((string) $loop->iteration, 2, '0', STR_PAD_LEFT) }}

{{ $category }}

{{ $commands->count() }} {{ $commands->count() === 1 ? 'acción' : 'acciones' }}
@foreach($commands as $command) @php($hasPermission = (auth()->user()->hasRole('Super Admin') || auth()->user()->can($command['permission'])) && (empty($command['super_admin_only']) || auth()->user()->hasRole('Super Admin')))

{{ $command['title'] }}

@if(!$command['available']) No disponible @elseif(!empty($command['super_admin_only']) || $command['permission'] !== 'admin.mantenimiento.ejecutar') Avanzado @else Seguro @endif

{{ $command['description'] }}

php artisan {{ $command['signature'] }}{{ $command['key'] === 'migrate-run' ? ' --force' : '' }}
@if($hasPermission)
@csrf @if($command['key'] === 'migrate-run')
@endif
@else @endif
@endforeach
@endforeach

Actividad reciente

@can('admin.auditoria.ver') Ver auditoría completa @endcan