emanueleminotto/simple-html-dom
Simple HTML DOM parser for PHP. Provides a lightweight API to load HTML from strings/files/URLs, traverse and query elements, and extract text/attributes. Handy for scraping, data extraction, and quick HTML manipulation without a full browser.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 24hoursmedia/php-dom-manipulations | 0.88 | Lightweight PHP helpers for manipulating HTML DOM documents. Create, find, update, replace, and remove nodes and attributes with a simple API suited for scraping, templating, and HTML cleanup tasks in legacy or modern PHP projects. | 0 | 0 | 0 | 12 | 1 | 0.4 | 18.5 | MIT | 9 years ago | |
| deepslam/content-parser | 0.87 | Laravel 5 package to extract a web page’s main content and title using automatic algorithms. Supports Graby (default) and Mercury API parsers, with an extensible architecture and optional HTML cleanup (remove CSS/style attrs, strip tags) for clean output. | 3 | 3 | 1 | 0 | 1 | 2.2 | — | — | 9 years ago | |
| weglot/simplehtmldom | 0.86 | Fork/packaged Simple HTML DOM for PHP via Composer. Provides an easy, jQuery-like API to parse, traverse, and manipulate HTML from strings or URLs, useful for scraping, testing, or quick DOM queries without heavy dependencies. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| paquettg/php-html-parser | 0.85 | Fast, lightweight HTML parser for PHP that turns messy markup into a DOM-like tree. Crawl and scrape pages, query elements with CSS selectors, and extract text/attributes easily. Works with imperfect HTML and focuses on simple, fluent usage. | 2,401 | 2,448 | 468 | 92K | 54 | 43.7 | 47.4 | MIT | — | |
| zenstruck/dom | 0.85 | Zenstruck DOM is a tiny PHP/Laravel-friendly library for working with HTML/XML DOM. It offers a simple, fluent API to query, traverse, and manipulate nodes, making scraping, testing, and HTML transformations easier than using raw DOMDocument/DOMXPath. | 5 | 5 | 3 | 649 | 0 | 0.4 | 29.9 | MIT | — | |
| symfony/dom-crawler | 0.85 | Symfony DomCrawler makes it easy to parse and navigate HTML/XML using a fluent, CSS/XPath-friendly API. Ideal for scraping, testing responses, and extracting data from markup, with smooth integration across the Symfony ecosystem. | 4,031 | 4,108 | 125 | 7M | 0 | 53.8 | 52.2 | MIT | 1 month ago | |
| acassan/php-crawler | 0.84 | Symfony 2 bundle integrating the PHPCrawler library to help you crawl and fetch web pages within your Symfony application. Provides a simple way to run crawling tasks and process discovered URLs and content. | 2 | 2 | 1 | 0 | 2 | 0.4 | — | — | — | |
| s9e/sweetdom | 0.84 | SweetDOM is a lightweight PHP library for fast DOM parsing and manipulation. It offers a simple, jQuery-like API to find, traverse, and edit HTML/XML documents, making common scraping and transformation tasks easier without heavy dependencies. | 0 | 3 | — | 76K | — | 4.2 | 55.3 | — | — | |
| theseer/fdomdocument | 0.83 | Archived PHP library extending DOMDocument to throw exceptions instead of warnings/notices, plus handy shortcuts like XPath query helpers and appendElement variants. Drop-in replacement for DOM with libxml support; works with PHP 5.3.3–8.1 (v1.6.7). | 247 | 256 | 17 | 147K | 0 | 1.5 | 27.0 | NOASSERTION | 4 years ago | |
| edemy/crawlerbundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| becklyn/search-text-transformer | 0.82 | Converts HTML into clean, searchable plain text for indexing with search engines like Elasticsearch. Use SearchTextTransformer to strip tags and normalize content, making page text suitable for full‑text search and highlighting. | 4 | 4 | 0 | 0 | 0 | 0.3 | — | BSD-3-Clause | 3 years ago | |
| html2text/html2text | 0.82 | — | 590 | 612 | 177 | 845K | 15 | 17.3 | 49.6 | — | 1 year ago | |
| devanoxltd/php-html-parser | 0.78 | Lightweight PHP HTML parser with jQuery-style CSS selectors. Load HTML from strings or files, handle imperfect markup, and traverse nodes (attributes, innerHtml, siblings). Ideal for quick web scraping and DOM extraction in PHP 7.2–7.4. | 0 | 0 | 0 | 24 | 0 | 2.5 | 19.6 | MIT | 11 months ago | |
| simplepie/simplepie | 0.77 | — | 1,576 | 1,601 | 393 | 218K | 56 | 45.6 | 54.1 | — | 10 months ago | |
| dompdf/dompdf | 0.75 | Dompdf is a PHP HTML-to-PDF converter with a CSS 2.1-focused rendering engine. Supports external stylesheets, complex tables, common image formats, basic SVG, and runs without external PDF libraries. Requires PHP 7.1+ and DOM/MBString. | 11,169 | 11,331 | 1,836 | 7M | 498 | 88.5 | 71.7 | LGPL-2.1 | 2 weeks ago | |
| j0k3r/php-readability | 0.74 | Extracts the main article content and title from messy web pages in PHP. Improved fork of php-readability with tests, namespacing, and optional HTML cleanup via Tidy (or libxml). Supports PSR-3 logging for debugging. | 184 | 190 | 38 | 39K | 5 | 32.0 | 41.6 | Apache-2.0 | 3 weeks ago | |
| masterminds/html5 | 0.70 | Standards-compliant HTML5 parser and serializer for PHP. Provides SAX-like event parsing, DOM tree building, namespace support, Composer install, and interoperability with QueryPath. Stable and widely used in production. | 1,781 | 1,806 | 120 | 10M | 29 | 48.9 | 71.5 | NOASSERTION | 1 month ago |
How can I help you explore Laravel packages today?