From 80df7dd38c803de2ff9c61eb320dbc093b46949b Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Wed, 10 Jun 2020 09:47:57 -0400 Subject: [PATCH] Support updated composer installed.json ... See https://github.com/laravel/framework/pull/32310 --- src/Extend/Manifest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Extend/Manifest.php b/src/Extend/Manifest.php index 781b9d5ebc..98a463dee3 100644 --- a/src/Extend/Manifest.php +++ b/src/Extend/Manifest.php @@ -18,7 +18,8 @@ public function build() $packages = []; if ($this->files->exists($path = $this->vendorPath.'/composer/installed.json')) { - $packages = json_decode($this->files->get($path), true); + $installed = json_decode($this->files->get($path), true); + $packages = $installed['packages'] ?? $installed; } $this->write(collect($packages)->filter(function ($package) {