@php $installedCount = (int) ($stats['installed'] ?? 0); $enabledCount = (int) ($stats['enabled'] ?? 0); $disabledCount = (int) ($stats['disabled'] ?? 0); $filterCards = [ ['key' => 'all', 'label' => 'Installed', 'value' => $installedCount, 'icon' => 'fa-puzzle-piece', 'tone' => 'blue', 'hint' => 'All modules'], ['key' => 'enabled', 'label' => 'Enabled', 'value' => $enabledCount, 'icon' => 'fa-circle-check', 'tone' => 'emerald', 'hint' => 'Active modules'], ['key' => 'disabled', 'label' => 'Disabled', 'value' => $disabledCount, 'icon' => 'fa-circle-pause', 'tone' => 'red', 'hint' => 'Inactive modules'], ['key' => 'updates', 'label' => 'Updates Available', 'value' => $stats['updates'] ?? 0, 'icon' => 'fa-arrow-up-from-bracket', 'tone' => 'sky', 'hint' => 'Disk version newer'], ['key' => 'missing-dependencies', 'label' => 'Dependencies Missing', 'value' => $stats['missing'] ?? 0, 'icon' => 'fa-triangle-exclamation', 'tone' => 'amber', 'hint' => 'Requires attention'], ]; $secondaryFilters = [ 'core' => 'Core', 'optional' => 'Optional', 'mpba' => 'Installed by MPBA', 'third-party' => 'Third-party', ]; $cardTone = [ 'blue' => 'border-blue-400/70 bg-blue-500/10 text-blue-300', 'emerald' => 'border-emerald-400/60 bg-emerald-500/10 text-emerald-300', 'red' => 'border-red-400/60 bg-red-500/10 text-red-300', 'sky' => 'border-sky-400/60 bg-sky-500/10 text-sky-300', 'amber' => 'border-amber-400/60 bg-amber-500/10 text-amber-300', ]; @endphp

Platform Administration

Module Control

Manage installed modules, database metadata, dependencies and activation state.

Database backed
{{ $installedCount }}
Installed
{{ $enabledCount }}
Enabled
{{ $disabledCount }}
Disabled
@foreach (['status' => 'emerald', 'warning' => 'amber', 'error' => 'red'] as $flash => $tone) @if (session($flash))
{{ session($flash) }}
@endif @endforeach
@foreach ($filterCards as $card)
{{ $card['label'] }}
{{ $card['value'] }}
{{ $card['hint'] }}
@endforeach

Installed modules

Descriptions, versions, display metadata and sort order are stored in the database only.

@if ($filter !== 'all') @endif
@csrf
@foreach ($secondaryFilters as $key => $label) {{ $label }} @endforeach @if ($filter !== 'all' || $search !== '') Clear filters @endif
Showing {{ $modules->firstItem() ?? 0 }}-{{ $modules->lastItem() ?? 0 }} of {{ $modules->total() }} modules. @if ($search !== '') Search: {{ $search }} @endif
4 modules per page
@csrf
Select modules on this page and apply a bulk action.
@forelse ($modules as $module) @empty @endforelse
Select Module Description Version Status Last Updated Actions
{{ $module['name'] }}
{{ $module['alias'] }}
{{ $module['category'] }} {{ $module['vendor_type'] }}

{{ $module['description'] ?: 'No database description saved.' }}

@if ($module['has_missing_dependencies'])
Missing: {{ implode(', ', $module['missing_dependencies']) }}
@endif
{{ $module['version'] ?: '—' }}
@if ($module['has_update']) Update available @elseif ($module['database_version']) Database @endif
@if ($module['enabled']) Enabled @else Disabled @endif {{ $module['updated_at']?->format('d M Y H:i') ?? '—' }}
View @if ($module['enabled']) @else @endif
No modules found
Adjust the search or filter and try again.
{{ $modules->links() }}