24hoursmedia/php-dom-manipulations
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| stepanets/kww-domstorlib-c | 0.85 | C library for a DOM-style storage layer (domstorlib-c), packaged for PHP/Laravel workflows. Provides low-level primitives for storing and retrieving structured data in a DOM-like format, aimed at embedding in other tools rather than end-user apps. | 1 | 2 | 1 | 0 | 0 | 0.6 | — | — | 8 years ago | |
| dontdrinkandroot/common | 0.85 | A small utility library with commonly used PHP helpers and extensions, including a PHPStan extension. Intended to provide shared building blocks for projects, with CI and code quality tooling support via SonarCloud badges. | 0 | 0 | 0 | 79 | 0 | 1.8 | 26.3 | Apache-2.0 | 2 years ago | |
| comsave/common | 0.85 | Shared common utilities for Laravel/PHP projects by Comsave. Provides reusable helpers and foundational components to reduce duplication across apps and packages, keeping shared logic centralized and easy to maintain. | 2 | 2 | 1 | 1K | 0 | 2.4 | 35.3 | MIT | 6 years ago | |
| zendframework/zendxml | 0.85 | ZendXml provides secure XML scanning/loading for PHP to help prevent XXE and XML entity expansion (XEE) attacks. It disables external entity loading and rejects documents using ENTITY declarations, returning SimpleXMLElement or DOMDocument. Repository abandoned; moved to laminas/laminas-xml. | 29 | 30 | 11 | 22K | 0 | 0.8 | 28.0 | BSD-3-Clause | 7 years ago | |
| dciss/poo-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| rhukster/dom-sanitizer | 0.84 | MIT-licensed PHP 7.3+ DOM/SVG/MathML sanitizer using DOMDocument and DOMPurify-based allowlists. Remove dangerous tags/attributes, strip namespaces and PHP/HTML/XML tags, and optionally compress output. Supports HTML, SVG, and MathML modes. | 11 | 11 | 4 | 169K | 0 | 18.9 | 62.6 | MIT | 3 months ago | |
| core23/dompdf-bundle | 0.84 | — | 56 | 54 | 12 | 142 | 6 | 15.1 | 9.5 | MIT | 7 months ago | |
| symfony/dom-crawler | 0.84 | 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 | |
| deepslam/content-parser | 0.84 | 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 | |
| bicpi/html-converter | 0.83 | PHP library for converting HTML to plain text, ideal for generating text parts of HTML emails. Includes Simple (strip_tags), Lynx (best results, keeps links), Html2Text, and Chain converter to pick the first available backend. | 11 | 12 | 13 | 0 | 0 | 0.5 | — | MIT | — | |
| theseer/fdomdocument | 0.82 | 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 | |
| weglot/simplehtmldom | 0.81 | 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 | — | — | — | |
| s9e/sweetdom | 0.81 | 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 | — | — | |
| paquettg/php-html-parser | 0.80 | 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 | — | |
| emanueleminotto/simple-html-dom | 0.79 | 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. | 10 | 17 | 8 | 362 | 0 | 0.6 | 21.1 | — | 10 years 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 | |
| nayjest/manipulator | 0.76 | Fast, lightweight PHP object manipulation helpers—like symfony/property-access but simpler (~300 LOC) and no reflection. Instantiate classes, set public properties, and assign values via setters from arrays (snake/camel case), with optional property creation. | 10 | 10 | 1 | 6K | 3 | 4.1 | 37.7 | MIT | 9 years ago | |
| masterminds/html5 | 0.72 | 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,804 | 120 | 9M | 29 | 48.9 | 71.5 | NOASSERTION | 1 month ago | |
| zenstruck/dom | 0.70 | 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 | — | |
| check24/apitk-manipulation-bundle | 0.64 | — | 1 | 1 | 3 | 0 | 0 | 2.2 | 0.4 | MIT | 4 years ago |
How can I help you explore Laravel packages today?