{{-- Summary Stats --}}
Total Plugins
{{ $this->stats['total'] }}
Active
{{ $this->stats['active'] }}
Inactive
{{ $this->stats['inactive'] }}
Failed
{{ $this->stats['failed'] }}
{{-- Filters --}}
Clear
{{-- Plugin Cards --}}
@forelse ($this->plugins as $plugin)
{{-- Card Header --}}

{{ $plugin->display_name ?: $plugin->name }}

{{-- Status Badge --}} @if ($plugin->isActive()) Active @elseif ($plugin->isInactive()) Inactive @elseif ($plugin->isFailed()) Failed @endif

{{ $plugin->vendor }}/{{ $plugin->name }} v{{ $plugin->version }}

{{-- Security Scan Indicator --}} @if (isset($this->scanResults[$plugin->getFullName()])) @if ($this->scanResults[$plugin->getFullName()]['safe']) @else @endif @endif
{{-- Card Body --}}
@if ($plugin->description)

{{ $plugin->description }}

@endif {{-- Metadata --}}
@if ($plugin->author)
{{ $plugin->author }}
@endif @if ($plugin->license)
{{ $plugin->license }}
@endif @if ($plugin->installed_at)
Installed {{ $plugin->installed_at->diffForHumans() }}
@endif
{{-- Permissions --}} @if (!empty($plugin->permissions))
Permissions
@foreach ((array) $plugin->permissions as $permission) @if (is_string($permission)) {{ $permission }} @else {{ json_encode($permission) }} @endif @endforeach
@endif {{-- Dependencies --}} @if (!empty($plugin->dependencies))
Dependencies
@foreach ((array) $plugin->dependencies as $key => $dep) @if (is_string($key)) {{ $key }}: {{ $dep }} @else {{ $dep }} @endif @endforeach
@endif {{-- Security Scan Results --}} @if (isset($this->scanResults[$plugin->getFullName()]) && !$this->scanResults[$plugin->getFullName()]['safe'])
Security Issues ({{ count($this->scanResults[$plugin->getFullName()]['issues']) }})
@foreach ($this->scanResults[$plugin->getFullName()]['issues'] as $issue)
{{ $issue['type'] }} in {{ $issue['file'] }}:{{ $issue['line'] }}
@endforeach
@endif
{{-- Card Footer / Actions --}}
{{-- Security Scan --}} Scan {{-- Enable / Disable --}} @if ($plugin->isActive()) @unless ($plugin->isSystem()) Disable @endunless @elseif ($plugin->isInactive()) Enable @endif
@empty

No plugins found

@if ($this->search !== '' || $this->statusFilter !== '') No plugins match your search criteria. Try adjusting your filters. @else No plugins are installed. Use "Discover Plugins" to scan the filesystem for available plugins. @endif

@endforelse
{{-- Footer --}}

Showing {{ $this->plugins->count() }} of {{ $this->stats['total'] }} plugins. System plugins cannot be disabled.