phpgt/dom
A modern DOM API for PHP built on the native DOMDocument, giving you browser-style, standardised object-oriented DOM manipulation server-side. Treat HTML files as templates and ready-process pages for browsers, webservers and CDNs.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| electrolinux/phpquery | 0.87 | phpQuery is a server-side, jQuery-like PHP library for parsing and manipulating HTML/XML DOM. It provides CSS3 selectors, chainable traversal and manipulation methods, and a familiar API for scraping, templating, and document processing. | 164 | 199 | 63 | 74K | 0 | 2.8 | 36.7 | — | — | |
| weglot/simplehtmldom | 0.87 | 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 | — | — | |
| theseer/fdomdocument | 0.87 | 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 | |
| paquettg/php-html-parser | 0.86 | 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 | — | |
| spatie/html-element | 0.86 | Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. | 192 | 195 | 23 | 1K | 0 | 3.5 | 11.7 | MIT | 4 years ago | |
| berry/html | 0.86 | Build HTML templates directly in PHP with a fluent, type-safe element builder. Compose tags, attributes, classes, and children, then render to string. Great for minimal templating and dynamic UI patterns (e.g., HTMX) without context switching. | 0 | 0 | 0 | 45 | 2 | 0.4 | 22.9 | MIT | — | |
| apie/html-builders | 0.86 | HTML builder utilities for the Apie ecosystem. Provides internal components to generate and compose HTML fragments in PHP, used by other Apie packages. Developed in the Apie monorepo; limited standalone documentation available. | 0 | 0 | 0 | 5 | 0 | 0.0 | 10.8 | MIT | — | |
| aura/html | 0.86 | HTML escapers and helpers for any PHP template/view layer, including tag builders and form input helpers. Easy to use via a HelperLocatorFactory; built-in helpers escape values appropriately and you can register custom helpers via the HelperLocator. | 52 | 53 | 21 | 4K | 0 | 23.3 | 30.0 | MIT | 1 month ago | |
| deepslam/content-parser | 0.86 | 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 | |
| symfony/dom-crawler | 0.86 | 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,024 | 4,101 | 125 | 12M | 0 | 56.7 | 56.5 | MIT | 2 days ago | |
| laravelcollective/html | 0.86 | LaravelCollective HTML provides maintained form and HTML helpers for Laravel apps. Generate form fields, labels, links, and other elements with a fluent, Blade-friendly API. Ideal for projects migrating from legacy helpers or needing rapid UI scaffolding. | 4,087 | 4,081 | 1,001 | 597K | 159 | 64.4 | 52.7 | MIT | 3 years ago | |
| iloh/simple-html-dom-bundle | 0.86 | Symfony bundle integrating the simple-html-dom PHP library, exposing HTML parsing and DOM manipulation as a service. Parse, traverse, and edit HTML documents with a familiar API, simplifying scraping and document processing in Symfony applications. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| emanueleminotto/simple-html-dom | 0.86 | 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. | 11 | 17 | 8 | 530 | 0 | 0.6 | 22.9 | — | 11 years ago | |
| anahkiasen/html-object | 0.86 | HtmlObject brings object-oriented HTML generation to PHP and Laravel. Build tags, lists, tables, and forms through a fluent, chainable API instead of messy string concatenation. Each element is a dedicated class you can extend, keeping markup clean, reusable, and easy to maintain. | 128 | — | 21 | — | 4 | 2.5 | 1.5 | MIT | 9 years ago |
|
| yiisoft/html | 0.85 | Yii HTML provides tools for dynamic server-side HTML generation in PHP: a dedicated class for each tag, a CustomTag class, widgets like ButtonGroup, CheckboxList and RadioList, automatic encoding with NoEncode, and an Html helper for creating tags and widgets. Requires PHP 8.1–8.5. | 59 | 58 | 23 | 38K | 6 | 20.0 | 44.1 | BSD-3-Clause | 5 months 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 | 12 | 28K | 0 | 0.9 | 28.9 | BSD-3-Clause | 7 years ago | |
| devanoxltd/php-html-parser | 0.85 | 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 | |
| tomjamon/laravel-custom-html | 0.85 | A Laravel package for managing and rendering custom HTML content in your applications. Define reusable HTML snippets, output them in Blade views, and keep custom markup organized with a simple, framework-friendly API. | 0 | 10 | — | 0 | — | 0.0 | — | — | — | |
| arcanedev/php-html | 0.85 | A lightweight PHP package for building HTML elements programmatically with a clean, fluent API. Create tags, attributes, and nested content without messy string concatenation, keeping markup generation readable, reusable, and easy to test in any PHP or Laravel project. | 16 | 16 | 8 | 6K | 0 | 0.4 | 34.8 | MIT | 2 years ago | |
| martyrer/simple-html-dom-bundle | 0.85 | A Symfony bundle that integrates PHP Simple HTML DOM into your application, giving you a convenient service for parsing and manipulating HTML using jQuery-like selectors. Load pages, traverse the DOM, and extract or edit elements with straightforward, readable syntax. | 0 | 1 | — | 0 | — | 0.0 | — | — | — |
How can I help you explore Laravel packages today?