code: private function readCategoryPackages($baseUrl, $categoryName)
      {
          $result = array();
  
          $categoryPath = '/c/'.urlencode($categoryName).'/packagesinfo.xml';
          $xml = $this->requestXml($baseUrl, $categoryPath);
          $xml->registerXPathNamespace('ns', self::CATEGORY_PACKAGES_INFO_NS);
          foreach ($xml->xpath('ns:pi') as $node) {
              $packageInfo = $this->parsePackage($node);
              $result[] = $packageInfo;
          }
  
          return $result;
      }
docs: Read packages from
  {baseUrl}/c/{category}/packagesinfo.xml
  
  @param string $baseUrl
  @param string $categoryName
  @return PackageInfo[]