how do i fix In PackageManifest.php line 122: Undefined index: name code example
Example 1: PackageManifest.php line 131: Undefined index: name
$ composer update
Example 2: In PackageManifest.php line 122: Undefined index: name
updating in file vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;