Laravel PackageManifest.php line 131: Undefined index: name
问题 I updated the composer with this command: composer self-update It was updated to version 2.0.4. Then when I tried to launch my Laravel project using: php artisan serve I got this error: In PackageManifest.php line 131: Undefined index: name I tried getting back to the old version of the composer with this: composer self-update --rollback The composer was downgraded to version 1.9.3, but it didn't help with the error. Then I used this command to update the composer again: composer self-update