How to fix undefined index: name in PackageManifest.php line 131 error with Composer

PHP
$ composer update
Source

Also in PHP: