PHPackages                             luler/spider\_product\_info - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. luler/spider\_product\_info

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

luler/spider\_product\_info
===========================

通过商品链接，简单爬取商品的基本信息，兼容主流电商平台

1.0.0(4y ago)09MITPHPPHP &gt;=7.1

Since Aug 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/luler/spider_product_info)[ Packagist](https://packagist.org/packages/luler/spider_product_info)[ Docs](https://github.com/luler/spider_product_info)[ RSS](/packages/luler-spider-product-info/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

luler/spider\_product\_info
===========================

[](#lulerspider_product_info)

通过商品链接，简单爬取商品的基本信息，兼容主流电商平台

助手类列表如下
=======

[](#助手类列表如下)

- SpiderProductInfoHelper

使用示例
====

[](#使用示例)

```
        $spider = new \SpiderProductInfo\SpiderProductInfoHelper([
            'proxy_server' => '121.127.241.235:32081',
        ]);

        $info = $spider->info('https://detail.tmall.com/item.htm?id=631833014942&skuId=4676531095838', true);

        dump($info);

```

输出

```
array(2) {
  ["name"] => string(70) "姿彩a4打印纸整箱70g 80g复印纸80克a3 5包/箱(2500张) 70gA4"  //商品名称
  ["price"] => float(119)   //商品价格
  ["image"] => float(100) "http://img.alicdn.com/imgextra/i3/3293436601/O1CN010PmYJ61ydJ4BbQG6v_!!3293436601.jpg_430x430q90.jpg"   //商品主图
}

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

1795d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e8bc850b3afe0876d5989f45548fcc75c29cce2d61d5f19653a5eecccf92a3e1?d=identicon)[luler](/maintainers/luler)

---

Top Contributors

[![luler](https://avatars.githubusercontent.com/u/34400577?v=4)](https://github.com/luler "luler (10 commits)")

### Embed Badge

![Health badge](/badges/luler-spider-product-info/health.svg)

```
[![Health](https://phpackages.com/badges/luler-spider-product-info/health.svg)](https://phpackages.com/packages/luler-spider-product-info)
```

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)

PHPackages © 2026

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