PHPackages                             rayful/xyh-crawler-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. rayful/xyh-crawler-client

ActiveLibrary[API Development](/categories/api)

rayful/xyh-crawler-client
=========================

Client Tool for XiYangHui Crawler System (PHP SDK)

04PHP

Since May 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rayful/XYHCrawlerClient)[ Packagist](https://packagist.org/packages/rayful/xyh-crawler-client)[ RSS](/packages/rayful-xyh-crawler-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

西洋汇爬虫系统客户端
==========

[](#西洋汇爬虫系统客户端)

定义全局变量

```
$key = "testKey";
$serverUrl = "http://127.0.0.1/CrawlerServer/";
```

采集产品页:

```
$Client = new \XYHCrawlerClient\Client();
$Client->setUrl($url);
$Result = $Client->execute($key, $serverUrl);
print_r($Result);
```

采集列表页:

```
$Client = new \XYHCrawlerClient\Client();
$Client->setUrl($url);
$Client->setPageMax(2);
$Client->setDoSubs(true);

$Result = $Client->execute($key, $serverUrl);
print_r($Result);
```

采集多地址

```
$urls = [
    "http://www.mytheresa.com/int_en/wool-crepe-coat-with-optional-shearling-vest-545469.html?catref=category",
    "http://www.mytheresa.com/int_en/rockstud-leather-cross-body-bag-549487.html?catref=category",
    "https://www.net-a-porter.com/gb/zh/product/681462/dolce___gabbana/--------------",
    "http://www.luisaviaroma.com/mykita/%E7%94%B7%E5%A3%AB/%E5%A4%AA%E9%98%B3%E9%95%9C/63I-K28006/lang_ZH/colorid_NjAz0?SubLine=accessories&CategoryId=54",
];
$Client = new \XYHCrawlerClient\Client();
$Client->setUrls($urls);
$Result = $Client->execute($key, $serverUrl);
print_r($Result);
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4504653?v=4)[Kingmax Yang](/maintainers/kingmaxyang)[@kingmaxyang](https://github.com/kingmaxyang)

### Embed Badge

![Health badge](/badges/rayful-xyh-crawler-client/health.svg)

```
[![Health](https://phpackages.com/badges/rayful-xyh-crawler-client/health.svg)](https://phpackages.com/packages/rayful-xyh-crawler-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
