# mvdbos/php-spider

A configurable and extensible PHP web spider

Repository: https://github.com/mvdbos/php-spider
Canonical: https://ross.abutalabs.com/products/php-spider
Language: PHP
License: MIT
License Family: permissive
Last push: 2026-08-04T16:26:11+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 4937, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1341, forks 229 (observed 2026-08-28T04:04:26.177179+00:00)

## What it is
A configurable and extensible PHP web spider library for crawling websites. It supports breadth-first and depth-first traversal, URI discovery via XPath/CSS selectors, filters, caching, and HTTP authentication.

## Use cases
- crawl a website and extract links
- build a site link checker in PHP
- scrape pages using XPath or CSS selectors
- respect robots.txt while crawling
- cache downloaded pages during a crawl

## When to choose
- you need a PHP-native crawler with composable discoverers and filters
- you want crawl limits, politeness, and persistence handlers out of the box
- your targets are static HTML without JavaScript rendering

## When to avoid
- you need to crawl JavaScript-heavy single-page applications
- you need distributed or very large-scale crawling
- you are not working in PHP

## Facets
- artifact type: library
- maturity: active
- function: web-scraping, http-client, caching
- domain: crawlers, web-development, developer-tools
- platform: php, cli
- tags: spider, php-library, composer, robots-txt, breadth-first-search, depth-first-search, xpath, css-selectors

## Member repositories
- mvdbos/php-spider (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:26.177179+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:43:45.349689+00:00, confidence not recorded.
  - readme: https://github.com/mvdbos/php-spider (fetched 2026-08-28T04:04:26.177179+00:00, sha 6b19a50017df)
- Data as of 2026-08-30T08:39:29.467469+00:00.
