@extends('layouts.app') @section('title', 'Sistema de Atualizações') @section('header')
Versão atual: {{ $systemInfo['current_version'] }}
| Versão | Nome | Descrição | Data | Tamanho | Ações |
|---|---|---|---|---|---|
| {{ $update['version'] }} @if(version_compare($update['version'], $systemInfo['current_version']) > 0) Nova @endif | {{ $update['name'] ?? 'Sem nome' }} | {{ Str::limit($update['description'] ?? 'Sem descrição', 100) }} | {{ \Carbon\Carbon::parse($update['created_at'])->format('d/m/Y H:i') }} | @if(isset($update['file_size']) && $update['file_size']) @php $size = $update['file_size']; $units = ['B', 'KB', 'MB', 'GB', 'TB']; for ($i = 0; $size > 1024 && $i < count($units) - 1; $i++) { $size /= 1024; } $formattedSize = round($size, 2) . ' ' . $units[$i]; @endphp {{ $formattedSize }} @else N/A @endif |
|
Não há atualizações disponíveis no momento.
| Sistema Operacional: | {{ PHP_OS }} |
| PHP: | {{ $systemInfo['php_version'] }} |
| Laravel: | {{ $systemInfo['laravel_version'] }} |
| Ambiente: | {{ ucfirst($systemInfo['environment']) }} |
| Debug: | {{ $systemInfo['debug_mode'] ? 'Ativo' : 'Inativo' }} |
| Banco de Dados: | {{ strtoupper($systemInfo['database_driver']) }} |
| Memória: | {{ $systemInfo['memory_limit'] }} |
| Tempo Execução: | {{ $systemInfo['max_execution_time'] }}s |
Carregando backups...