# sunra/php-simple-html-dom-parser

PHP Simple HTML DOM Parser adaptation for Composer and PSR-0

Repository: https://github.com/sunra/php-simple-html-dom-parser
Canonical: https://ross.abutalabs.com/products/php-simple-html-dom-parser
Language: HTML
License Family: other
Last push: 2023-08-15T11:30:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5008, "days_push": 1114, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1281, forks 344 (observed 2026-08-28T04:04:13.791892+00:00)

## What it is
A PHP library adapting Simple HTML DOM Parser for Composer and PSR-0, allowing easy HTML parsing and manipulation. It supports invalid HTML and jQuery-like selector-based element finding.

## Use cases
- parse html from a string or file in php
- extract content from web pages
- scrape data from websites
- find elements with css selectors like jquery
- handle malformed html documents

## When to choose
- you need a simple, dependency-light HTML parser in PHP
- you want jQuery-style selectors for DOM traversal
- you must parse invalid or messy HTML

## When to avoid
- you need high performance or strict standards compliance - use DOMDocument or a modern parser
- you need active development or guaranteed maintenance
- you are not using PHP

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, web-scraping
- domain: parsers, web-development, crawlers
- platform: php
- tags: html-dom, css-selectors, composer, psr-0, screen-scraping

## Member repositories
- sunra/php-simple-html-dom-parser (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.791892+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-30T05:02:34.014797+00:00, confidence not recorded.
  - readme: https://github.com/sunra/php-simple-html-dom-parser (fetched 2026-08-28T04:04:13.791892+00:00, sha cf73ab5b6b39)
- Data as of 2026-08-30T08:39:29.467469+00:00.
