symfony/dom-crawler
Eases DOM navigation for HTML and XML documents observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 5671
- days_rel: 11
- days_push: 11
- n_releases_24m: 46
Adoption not part of the score
4027 stars · 125 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Symfony DomCrawler is a PHP component that eases DOM navigation for HTML and XML documents. It provides a Crawler class for querying and traversing DOM nodes, with specialized Link, Image, and Form classes for interacting with HTML elements.
Use cases
- parse html from a web page in php
- extract links and images from html documents
- scrape data from html using css selectors or xpath
- traverse xml documents in php
- inspect forms and fill fields in functional tests
- query dom elements from an html string
When to choose
- you need to read, filter, or traverse HTML/XML in a PHP project
- you are writing functional tests for a Symfony application
- you want a battle-tested parser with huge adoption and long-term support
When to avoid
- you need to modify or re-dump HTML/XML - it is not designed for DOM manipulation
- you need a full headless browser or JavaScript rendering
- you are not working in PHP
Facets
library · maturity stable
parser web-scraping testing web-development parsers developer-tools php dom-navigation html-parsing xml-parsing css-selectors xpath symfony-component crawler
6 sources
- readme: https://github.com/symfony/dom-crawler · fetched 2026-08-28 · c0c0d8bb6fe8
- homepage: https://symfony.com/dom-crawler · fetched 2026-08-29 · 82b5b7ac001f
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/components/dom_crawler.html · fetched 2026-08-29 · 239e223d1018
- site_page: https://symfony.com/releases · fetched 2026-08-29 · f109a7a4a5da
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · da84802d18f3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/dom-crawler | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="symfony/dom-crawler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem