composerContent()['autoload']['psr-4']; } public function requires() { return $this->composerContent()['require']; } protected function composerContent() { return \json_decode(FileSystem::get($this->composerJsonPath()), true); } protected function composerJsonPath() { return root_path() . 'composer.json'; } }