@php $allModules = Module::all(); $activeModules = []; foreach ($allModules as $module) { $activeModules[] = config(strtolower($module) . '.envato_item_id'); } @endphp @if (!empty(($plugins = \Froiden\Envato\Functions\EnvatoUpdate::plugins())) && count($activeModules) !== count($plugins))

{{ ucwords(config('froiden_envato.envato_product_name')) }} Official Modules

@foreach ($plugins as $item) @if (!in_array($item['envato_id'], $activeModules))
{{ $item['product_name'] }}

{{ $item['summary'] }}

@endif @endforeach
@endif