@php $allModules = Module::all(); $activeModules = []; foreach ($allModules as $module) { $config = require base_path() . '/Modules/' . $module . '/Config/config.php'; if(isset($config['envato_item_id']) && $config['envato_item_id']!==''){ $activeModules[] = $config['envato_item_id']; } } $plugins = \Froiden\Envato\Functions\EnvatoUpdate::plugins(); if (empty($plugins)) { $plugins = []; } $notInstalledModules = []; foreach ($plugins as $item) { if (!in_array($item['envato_id'], $activeModules)) { $notInstalledModules[] = $item; } } @endphp @if (count($notInstalledModules))

{{ str(config('froiden_envato.envato_product_name'))->replace('new', '')->headline() }} Official Modules

@foreach ($notInstalledModules as $item)
{{ $item['product_name'] }}

{{ $item['summary'] }}

@endforeach
@endif