PHPackages                             xin/crawler - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. xin/crawler

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

xin/crawler
===========

一个简单的API即可实现多平台文章采集，目前已接入：微信公众号，CSDN，博客园，简书，人民网，QQ新闻，百家号

v2.0.x-dev(4y ago)132Apache-2.0PHP

Since May 10Pushed 7mo agoCompare

[ Source](https://github.com/liuxiaojinla/crawler)[ Packagist](https://packagist.org/packages/xin/crawler)[ RSS](/packages/xin-crawler/feed)WikiDiscussions v2.0 Synced 1mo ago

READMEChangelogDependencies (4)Versions (1)Used By (0)

Crawler | 数据采集
==============

[](#crawler--数据采集)

#### 介绍

[](#介绍)

一个简单的API即可实现多平台文章采集，目前已接入：微信公众号，CSDN，简书，阮一峰日志，人民网，QQ新闻

#### 安装教程

[](#安装教程)

```
composer require xin/crawler
```

#### 使用说明

[](#使用说明)

```
use Xin\Crawler\CrawlerManager;

require_once '../vendor/autoload.php';

$crawler = new CrawlerManager();

//$data = $crawler->craw('https://mp.weixin.qq.com/s/3vD2wppFR7Ljl4nO9p97uA');
//$data = $crawler->craw('https://blog.csdn.net/jimlong/article/details/8606005');
//$data = $crawler->craw('https://www.jianshu.com/p/871c604d9aa2');
//$data = $crawler->craw('http://www.ruanyifeng.com/blog/2019/08/information-theory.html');
//$data = $crawler->craw('http://money.people.com.cn/n1/2019/0805/c42877-31276626.html');
//$data = $crawler->craw('https://new.qq.com/omn/FIN20190/FIN2019080500948300.html');
//$data = $crawler->craw('https://www.cnblogs.com/mithrandirw/p/8468925.html');
//$data = $crawler->craw('https://baijiahao.baidu.com/s?id=1619247656903510608&wfr=spider&for=pc');
$data = $crawler->craw('https://www.sohu.com/a/223511457_99893391');
var_dump($data);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance44

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1469d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3197fcaedd3c78adfa6afadac36bef7a2a39ce0df8e53d0da1e839e238287ad0?d=identicon)[xin](/maintainers/xin)

---

Top Contributors

[![liuxiaojinla](https://avatars.githubusercontent.com/u/16009864?v=4)](https://github.com/liuxiaojinla "liuxiaojinla (22 commits)")

### Embed Badge

![Health badge](/badges/xin-crawler/health.svg)

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

###  Alternatives

[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9738.8k](/packages/sauladam-shipment-tracker)

PHPackages © 2026

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