public static function readComposerManifest($pathAndFileName) { if (file_exists($pathAndFileName)) { $json = file_get_contents($pathAndFileName); return json_decode($json, true); } else { return null; } }