awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sunra avatar

sunra/php-simple-html-dom-parser

0
View on GitHub↗
1,286 estrellas·346 forks·HTML·2 vistas

Php Simple Html Dom Parser

php-simple-html-dom-parser is a PHP library for parsing HTML documents into a traversable in-memory tree that handles malformed markup gracefully. It constructs a complete object graph from raw HTML strings while retaining document structure and relational node hierarchies, and supports lazy child node iteration to load descendant nodes on demand for large documents.

The library features a CSS selector query engine that translates selector expressions to locate and filter matching nodes within the parsed DOM tree. Programmatic accessors provide direct string-based attribute retrieval to extract raw or sanitized attribute values and inner text content from targeted elements, supporting web scraping and data harvesting workflows.

Features

  • CSS Selector Engines - A markup query engine that finds matching nodes within an HTML tree using client-side selector syntax.
  • Markup Content Extractors - Retrieve specific text and attribute values from HTML elements using concise expressions for rapid data scraping.
  • Error-Resilient Parsers - Processes malformed, unclosed, or invalid HTML markup gracefully during tokenization without halting execution or throwing fatal errors.
  • DOM Tree Construction - Converts raw HTML markup strings into a fully traversable object graph that retains document structure and relational node hierarchies.
  • DOM Element Selectors - Find matching nodes within a markup tree using familiar query expressions similar to client-side selector syntax.
  • DOM Attribute Retrieval - Provides direct programmatic accessors to extract raw or sanitized attribute values and inner text content from targeted DOM elements.
  • HTML String Parsing - Process markup strings to build a traversable document tree that handles malformed or invalid syntax gracefully.
  • HTML Parsers - A PHP library for parsing HTML documents into a traversable tree that handles malformed markup gracefully.
  • Web Scraping and Extraction - Extracting specific text content and attribute values from HTML pages using concise expressions for rapid data harvesting.
  • DOM Element Selectors - Finding matching nodes within a markup tree using familiar query expressions similar to client-side selector syntax.
  • Hierarchical Node Lazy Loadings - Evaluates and loads descendant nodes on demand during traversal to minimize memory overhead when handling large HTML documents.
  • Web Scraping Libraries - A tool for extracting text and attribute values from HTML strings using concise query expressions.

Historial de estrellas

Gráfico del historial de estrellas de sunra/php-simple-html-dom-parserGráfico del historial de estrellas de sunra/php-simple-html-dom-parser

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Colecciones destacadas con Php Simple Html Dom Parser

Colecciones seleccionadas manualmente donde aparece Php Simple Html Dom Parser.
  • HTML template engine

Alternativas open-source a Php Simple Html Dom Parser

Proyectos open-source similares, clasificados según cuántas características comparten con Php Simple Html Dom Parser.
  • anglesharp/anglesharpAvatar de AngleSharp

    AngleSharp/AngleSharp

    5,499Ver en GitHub↗

    AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a W3C compliant document object model. It functions as a programmatic HTML generator and a CSS selector engine for querying and locating specific elements within a DOM. The project provides tools for simulating browser environments to automate web interactions, navigate URLs, and submit forms. It includes a dedicated HTML and CSS minifier to reduce the file size of web assets by removing unnecessary characters. The library supports HTML DOM manipulation and the extraction of s

    C#angle-bracketanglesharpc-sharp
    Ver en GitHub↗5,499
  • jmcarp/robobrowserAvatar de jmcarp

    jmcarp/robobrowser

    3,696Ver en GitHub↗

    Robobrowser is a Python web scraping library that provides a headless browser emulator and an HTML DOM parser. It is designed to programmatically navigate websites, interact with HTML forms, and extract data from web pages. The tool includes a web request caching mechanism to store previously fetched web content, reducing network traffic and increasing loading speeds for repeated requests. It covers capabilities for automated web navigation, programmatic web scraping, and web form automation, including the ability to populate input fields and trigger submission events. The system also manage

    Python
    Ver en GitHub↗3,696
  • inikulin/parse5Avatar de inikulin

    inikulin/parse5

    3,903Ver en GitHub↗

    parse5 is a WHATWG HTML parser and serializer for Node.js. It transforms HTML strings into a document object model and converts those trees back into valid HTML strings, following the logic defined by the HTML Living Standard. The project functions as a streaming HTML processor, using incremental parsing to handle large documents in chunks. It includes an HTML5 compliant tokenizer that uses a state-machine approach to break input into tokens according to official web specifications. The toolset covers HTML document parsing, serialization, and real-time rewriting via streams. These capabiliti

    TypeScript
    Ver en GitHub↗3,903
  • paquettg/php-html-parserAvatar de paquettg

    paquettg/php-html-parser

    2,402Ver en GitHub↗

    PHP HTML Parser is a server-side programming library and DOM parser designed to ingest markup documents and structure them into a navigable parent-child object tree. The library provides a stream-based character lexer and a configurable rule engine that manages parser strictness, whitespace preservation, tag closing behavior, and character encoding detection during document ingestion. Content loading is handled through a pluggable retrieval layer that accepts local file paths, raw strings, and remote network URLs. Once loaded, documents can be queried using a chainable CSS selector engine th

    HTML
    Ver en GitHub↗2,402
Ver las 30 alternativas a Php Simple Html Dom Parser→

Preguntas frecuentes

¿Qué hace sunra/php-simple-html-dom-parser?

php-simple-html-dom-parser is a PHP library for parsing HTML documents into a traversable in-memory tree that handles malformed markup gracefully. It constructs a complete object graph from raw HTML strings while retaining document structure and relational node hierarchies, and supports lazy child node iteration to load descendant nodes on demand for large documents.

¿Cuáles son las características principales de sunra/php-simple-html-dom-parser?

Las características principales de sunra/php-simple-html-dom-parser son: CSS Selector Engines, Markup Content Extractors, Error-Resilient Parsers, DOM Tree Construction, DOM Element Selectors, DOM Attribute Retrieval, HTML String Parsing, HTML Parsers.

¿Qué alternativas de código abierto existen para sunra/php-simple-html-dom-parser?

Las alternativas de código abierto para sunra/php-simple-html-dom-parser incluyen: anglesharp/anglesharp — AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a… jmcarp/robobrowser — Robobrowser is a Python web scraping library that provides a headless browser emulator and an HTML DOM parser. It is… inikulin/parse5 — parse5 is a WHATWG HTML parser and serializer for Node.js. It transforms HTML strings into a document object model and… paquettg/php-html-parser — PHP HTML Parser is a server-side programming library and DOM parser designed to ingest markup documents and structure… scinfu/swiftsoup — SwiftSoup is a cross-platform HTML processing library for Swift that converts raw HTML or XML strings and files into a… ionicabizau/scrape-it — scrape-it is a Node.js web scraper and HTML parser designed to extract structured data from websites and HTML files.…