awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sunra avatar

sunra/php-simple-html-dom-parser

0
View on GitHub↗
1,286 stars·346 forks·HTML·1 vue

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.

Historique des stars

Graphique de l'historique des stars pour sunra/php-simple-html-dom-parserGraphique de l'historique des stars pour sunra/php-simple-html-dom-parser

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Php Simple Html Dom Parser

Sélections manuelles où Php Simple Html Dom Parser apparaît.
  • HTML template engine

Alternatives open source à Php Simple Html Dom Parser

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Php Simple Html Dom Parser.
  • anglesharp/anglesharpAvatar de AngleSharp

    AngleSharp/AngleSharp

    5,499Voir sur 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
    Voir sur GitHub↗5,499
  • jmcarp/robobrowserAvatar de jmcarp

    jmcarp/robobrowser

    3,696Voir sur 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
    Voir sur GitHub↗3,696
  • inikulin/parse5Avatar de inikulin

    inikulin/parse5

    3,903Voir sur 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
    Voir sur GitHub↗3,903
  • paquettg/php-html-parserAvatar de paquettg

    paquettg/php-html-parser

    2,402Voir sur 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
    Voir sur GitHub↗2,402
Voir les 30 alternatives à Php Simple Html Dom Parser→

Questions fréquentes

Que fait 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.

Quelles sont les fonctionnalités principales de sunra/php-simple-html-dom-parser ?

Les fonctionnalités principales de sunra/php-simple-html-dom-parser sont : CSS Selector Engines, Markup Content Extractors, Error-Resilient Parsers, DOM Tree Construction, DOM Element Selectors, DOM Attribute Retrieval, HTML String Parsing, HTML Parsers.

Quelles sont les alternatives open-source à sunra/php-simple-html-dom-parser ?

Les alternatives open-source à sunra/php-simple-html-dom-parser incluent : 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.…