code: private function readPackage($baseUrl, $packageName)
      {
          $xmlPath = '/p/' . strtolower($packageName) . '/info.xml';
          $xml = $this->requestXml($baseUrl, $xmlPath);
          $xml->registerXPathNamespace('ns', self::PACKAGE_INFO_NS);
  
          $channelName = (string) $xml->c;
          $packageName = (string) $xml->n;
          $license = (string) $xml->l;
          $shortDescription = (string) $xml->s;
          $description = (string) $xml->d;
  
          return new PackageInfo(
              $channelName,
              $packageName,
              $license,
              $shortDescription,
              $description,
              $this->readPackageReleases($baseUrl, $packageName)
          );
      }
docs: Read package info from
  {baseUrl}/p/{package}/info.xml
  
  @param string $baseUrl
  @param string $packageName
  @return PackageInfo