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 | 13 | 1 | 0.4 | 15.8 | 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 | — | 101 | — | 0.3 | 27.7 | — | — | |
| 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,395 | 2,446 | 467 | 126K | 54 | 43.7 | 49.2 | 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 | 1K | 0 | 0.1 | 30.9 | MIT | — | |
| symfony/dom-crawler | 0.85 | DomCrawler eases DOM navigation for HTML and XML documents, letting you query, filter, and extract content with CSS selectors and XPath. Part of the Symfony framework. | 4,025 | 4,101 | 124 | 12M | 0 | 56.6 | 56.3 | MIT | 3 days 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. | 3 | 3 | 1 | 127K | 0 | 4.2 | 55.3 | MIT | 2 years ago | |
| 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 | 137K | 0 | 1.5 | 26.8 | NOASSERTION | 4 years ago | |
| devanoxltd/php-html-parser | 0.83 | 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 | 28 | 0 | 0.9 | 20.2 | MIT | 1 year 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 | 14 | 0 | 0.3 | 8.0 | BSD-3-Clause | 3 years ago | |
| masterminds/html5 | 0.77 | HTML5-PHP is a standards-compliant HTML5 parser and serializer written entirely in PHP. It includes both a DOM tree builder and an event-based SAX-like parser, supports PHP namespaces and Composer, interoperates with QueryPath, and requires PHP 7.4+. Stable and widely used in production. | 1,787 | 1,808 | 126 | 16M | 26 | 50.1 | 74.8 | NOASSERTION | 2 weeks ago | |
| simplepie/simplepie | 0.77 | — | 1,578 | 1,605 | 399 | 447K | 45 | 43.2 | 60.3 | — | 1 year ago | |
| dompdf/dompdf | 0.75 | Dompdf is a PHP library that converts HTML to PDF using a mostly CSS 2.1-compliant layout and rendering engine. It supports external stylesheets, complex tables, images, inline PHP, and basic SVG without external PDF libraries. | 11,208 | 11,356 | 1,848 | 12M | 513 | 83.5 | 72.1 | LGPL-2.1 | 3 months ago | |
| j0k3r/php-readability | 0.74 | PHP library that extracts the main readable content and title from web pages. Based on an improved full-text-rss Readability fork, it offers namespaced code, simple tests, optional Tidy HTML cleanup, and PSR-3 logging for debugging parsing issues. | 184 | 190 | 38 | 38K | 5 | 26.8 | 38.6 | Apache-2.0 | 3 months ago |
How can I help you explore Laravel packages today?