code: private function readPackageReleaseDependencies($baseUrl, $packageName, $version)
      {
          $dependencyReader = new PackageDependencyParser();
  
          $depthPath = '/r/' . strtolower($packageName) . '/deps.' . $version . '.txt';
          $content = $this->requestContent($baseUrl, $depthPath);
          $dependencyArray = unserialize($content);
  
          return $dependencyReader->buildDependencyInfo($dependencyArray);
      }
docs: Read package dependencies from
  {baseUrl}/p/{package}/deps.{version}.txt
  
  @param string $baseUrl
  @param string $packageName
  @param string $version
  @return DependencyInfo[]