MPBA WMS

Module Control

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

@php $filterCards = [ ['key' => 'all', 'label' => 'Installed', 'value' => $stats['installed'], 'icon' => 'fa-puzzle-piece', 'tone' => 'blue', 'hint' => 'All modules'], ['key' => 'enabled', 'label' => 'Enabled', 'value' => $stats['enabled'], 'icon' => 'fa-circle-check', 'tone' => 'emerald', 'hint' => 'Active modules'], ['key' => 'disabled', 'label' => 'Disabled', 'value' => $stats['disabled'], 'icon' => 'fa-circle-pause', 'tone' => 'red', 'hint' => 'Inactive modules'], ['key' => 'updates', 'label' => 'Updates Available', 'value' => $stats['updates'], 'icon' => 'fa-arrow-up-from-bracket', 'tone' => 'amber', 'hint' => 'Disk version newer'], ['key' => 'missing-dependencies', 'label' => 'Dependencies Missing', 'value' => $stats['missing'], 'icon' => 'fa-triangle-exclamation', 'tone' => 'orange', 'hint' => 'Requires attention'], ]; $secondaryFilters = [ 'core' => 'Core', 'optional' => 'Optional', 'mpba' => 'Installed by MPBA', 'third-party' => 'Third-party', ]; $toneClasses = [ 'blue' => 'border-blue-500/40 bg-blue-500/10 text-blue-700 dark:text-blue-300', 'emerald' => 'border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300', 'red' => 'border-red-500/40 bg-red-500/10 text-red-700 dark:text-red-300', 'amber' => 'border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300', 'orange' => 'border-orange-500/40 bg-orange-500/10 text-orange-700 dark:text-orange-300', ]; @endphp
@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() }}