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 1mo ago

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 10% 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://www.gravatar.com/avatar/1412a217896637f39725a032a9fc9c77c8feeb843daa3b5b696b8eb0fef53a94?d=identicon)[kingmaxyang](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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