PHP: /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php $this->files->getRequire($this->manifestPath) : []; } /** * Build the manifest and write it to disk. * * @return void */ public function build() { $packages = []; if ($this->files->exists($path = $this->vendorPath.'/composer/installed.json')) { $packages = json_decode($this->files->get($path), true); } $ignoreAll = in_array('*', $ignore = $this->packagesToIgnore()); $this->write(collect($packages)->mapWithKeys(function ($package) { return [$this->format($package['name']) => $package['extra']['laravel'] ?? []]; })->each(function ($configuration) use (&$ignore) { $ignore = array_merge($ignore, $configuration['dont-discover'] ?? []); })->reject(function ($configuration, $package) use ($ignore, $ignoreAll) { return $ignoreAll || in_array($package, $ignore); })->filter()->all()); } /** * Format the given package name. * * @param string $package * @return string */ protected function format($package) { return str_replace($this->vendorPath.'/', '', $package); } /** ошибка ErrorException (E_NOTICE) Undefined index: name
@lvsfive, загляните в табличку и ознакомьтесь с рекомендациями: Undefined index: name errors using Composer 2.01 for updating Laravel 6 · Issue #9340 · composer/composer · GitHub. Там-же ссылочка на испавление в исходниках (если захочется узнать, что именно пофиксили). Спойлер Running composer update laravel/framework should hopefully fix this, and not cause you other problems. If you can not update laravel then you're better off downgrading to Composer 1 using composer self-update --1. If you are using illuminate/foundation instead of laravel/framework, then make sure you composer update illuminate/foundation instead. PS: для картинок на этом форуме выделена специальная ветка.