# spatie/crawler

https://spatie.be/docs/crawler

Repository: https://github.com/spatie/crawler
Canonical: https://ross.abutalabs.com/products/crawler
Homepage: https://freek.dev/308-building-a-crawler-in-php
Language: PHP
License: MIT
License Family: permissive
Topics: php, crawler, guzzle, concurrency
Last push: 2026-08-07T07:21:29+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 96, longevity 100
- inputs: {"age_days": 3957, "days_push": 26, "days_rel": 26, "gap_med": 16.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2829, forks 367 (observed 2026-08-28T04:07:24.296702+00:00)

## What it is
A PHP library by Spatie for crawling links on websites, built on Guzzle promises for concurrent requests. It can execute JavaScript via Chrome and Puppeteer to crawl JavaScript-rendered sites.

## Use cases
- crawl all links on a website
- check for broken links on my site
- collect all internal URLs from a domain
- crawl JavaScript-rendered single-page apps
- scrape website pages concurrently in PHP

## When to choose
- you need a programmable web crawler in a PHP project
- you want concurrent crawling with configurable depth and crawl profiles
- you need to crawl sites that render content with JavaScript

## When to avoid
- you need a full-scale distributed scraping system
- your stack is not PHP
- you only need a one-off CLI site audit without writing code

## Facets
- artifact type: library
- maturity: active
- function: web-scraping, http-client, concurrency
- domain: crawlers, web-development, developer-tools
- platform: php, cli
- tags: crawler, guzzle, link-checking, javascript-rendering, puppeteer

## Member repositories
- spatie/crawler (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.296702+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-30T07:38:11.759345+00:00, confidence not recorded.
  - readme: https://github.com/spatie/crawler (fetched 2026-08-28T04:07:24.296702+00:00, sha 43361ac669e9)
  - homepage: https://freek.dev/308-building-a-crawler-in-php (fetched 2026-08-29T09:53:21.915347+00:00, sha e89fc461fc36)
  - site_page: https://freek.dev/about (fetched 2026-08-29T09:53:21.925164+00:00, sha e0ef9dccbb05)
- Data as of 2026-08-30T08:39:29.467469+00:00.
