packages; $token = Session::getFormToken(); // Group by category $grouped = []; foreach ($packages as $pkg) { $grouped[$pkg->category][] = $pkg; } $statusBadge = [ 'installed' => ['bg-success', 'Installed'], 'update_available' => ['bg-warning text-dark', 'Update Available'], 'not_installed' => ['bg-secondary', 'Not Installed'], ]; ?>
description); ?>
needs_dlid) && !$pkg->has_dlid && $pkg->status !== 'not_installed'): ?>