# Imangazaliev/DiDOM

Simple and fast HTML and XML parser

Repository: https://github.com/Imangazaliev/DiDOM
Canonical: https://ross.abutalabs.com/products/didom
Language: PHP
License: MIT
License Family: permissive
Topics: html-parser, xml-parser, html, parser, xml, dom, xpath
Last push: 2026-01-28T00:23:34+00:00

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

## Adoption (not part of the score)
Stars 2198, forks 197 (observed 2026-08-28T04:06:25.333999+00:00)

## What it is
DiDOM is a fast and simple PHP library for parsing and manipulating HTML and XML documents. It supports loading from strings, files, or URLs, and querying elements via CSS selectors and XPath.

## Use cases
- parse html in php
- scrape web pages with php
- extract elements by css selector
- query xml with xpath
- manipulate dom documents in php

## When to choose
- you need a fast, lightweight HTML/XML parser in PHP
- you want both CSS selector and XPath querying
- you need to load documents from URLs or files directly

## When to avoid
- you need a full browser rendering engine or JavaScript execution
- you are not working in PHP

## Facets
- artifact type: library
- maturity: active
- function: parser, web-scraping
- domain: parsers, web-development, crawlers
- platform: php
- tags: html-parser, xml-parser, xpath, css-selectors, dom-manipulation

## Member repositories
- Imangazaliev/DiDOM (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.333999+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-30T02:47:08.452777+00:00, confidence not recorded.
  - readme: https://github.com/Imangazaliev/DiDOM (fetched 2026-08-28T04:06:25.333999+00:00, sha b26dfdd191c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
