hasCompletedMigrations()) { return; } $plugins = Plugin::all(); foreach ($plugins as $plugin) { if (!$plugin->shouldLoad()) { continue; } try { Plugins::requireComposerPackages($plugin); } catch (Exception $exception) { report($exception); $this->error($exception->getMessage()); } } } }