@if($plugin['enabled'])
已启用
@else
已停用
@endif
{{ $plugin['title'] }}
{{ $plugin['description'] }}
v{{ $plugin['version'] }} · {{ $plugin['vendor'] }}.{{ $plugin['name'] }}
@if(! empty($plugin['usage']))
使用说明
{{ $plugin['usage'] }}
@endif
@if(! empty($plugin['dependencies']))
依赖:
@foreach($plugin['dependencies'] as $dep)
{{ $dep['title'] }}@if(! $dep['ok'])({{ $dep['reason'] }})@endif
@endforeach
@endif
@if($plugin['enabled'])
停用
@elseif(empty($plugin['dependency_errors']))
启用
@else
依赖未满足,无法启用
@endif
@if(! in_array($plugin['key'], config('plugins.enabled', []), true))
卸载
@endif