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) {