s9e/sweetdom
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/html-element | 0.84 | 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 | 12.0 | MIT | 4 years ago | |
| apie/html-builders | 0.84 | 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 | — | |
| spatie/array-to-xml | 0.83 | Simple PHP utility to convert arrays into XML strings. Supports custom root element names and configurable key handling (e.g., converting spaces to underscores). Ideal for quickly generating XML output from structured array data. | 1,199 | 1,226 | 214 | 3M | 0 | 23.6 | 48.4 | MIT | 10 months ago | |
| thenorthmemory/xml | 0.83 | Lightweight XML transformer for PHP: parse XML into arrays and build XML back from arrays. Supports repeated elements/lists, optional pretty printing, custom root nodes, and wrapping arrays to control tag output. Extracted from wechatpay-php for general use. | 9 | 9 | 0 | 30K | 0 | 0.9 | 48.0 | Apache-2.0 | 3 years ago | |
| yiisoft/html | 0.83 | 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 | |
| html2text/html2text | 0.83 | — | 588 | 610 | 178 | 1M | 15 | 17.6 | 53.5 | — | 2 years ago | |
| sabre/xml | 0.83 | sabre/xml is a specialized XML reader and writer for PHP, offering a simple, namespace-aware API for parsing and generating XML. It supports PHP 7.4 and 8, with full type declarations in version 3. | 529 | 554 | 79 | 1M | 19 | 30.3 | 58.7 | BSD-3-Clause | 6 months ago | |
| berry/html | 0.83 | 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 | — | |
| aura/html | 0.83 | 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 | |
| pear/html_common2 | 0.83 | — | 1 | 1 | 2 | 9K | 0 | 0.1 | 50.8 | — | — | |
| mustache/mustache | 0.82 | Mustache.php is a PHP implementation of Mustache templates. Install via Composer, then render logic-less templates with arrays or objects, using configurable escaping for safer output. | 3,283 | 3,325 | 430 | 1M | 3 | 47.1 | 38.9 | MIT | 5 months ago | |
| laminas/laminas-xml2json | 0.82 | Convert XML to JSON in PHP via Laminas, with options for simple/pretty output and flexible handling of attributes, elements, and namespaces. Useful for bridging XML-based APIs and JSON consumers. | 14 | 14 | 3 | 9K | 0 | 0.8 | 38.4 | BSD-3-Clause | 4 years ago | |
| softbery/laravel-wweditor | 0.82 | Zaawansowany edytor WYSIWYG dla Laravela (alternatywa dla CKEditor) z komponentem Blade, autozapisem, trybami WYSIWYG/HTML/CSS/podgląd, uploadem i storage, konfiguracją przez plik i .env oraz trasami i middleware. | 0 | 0 | 0 | 0 | 0 | 10.7 | — | — | 5 months ago | |
| liquid/liquid | 0.82 | Liquid is a PHP port of the Ruby Liquid template engine. It offers readable, secure syntax with no embedded PHP, separate compiling and rendering stages, and easy extension with custom tags and filters. Markup compatible with Ruby Liquid. | 184 | 186 | 64 | 239K | 35 | 43.2 | 65.7 | MIT | 1 week ago | |
| stepanets/kww-domstorlib-c | 0.82 | 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 | — | — | 9 years ago | |
| michelf/php-markdown | 0.82 | michelf/php-markdown is a fast, standards-based Markdown parser for PHP (Markdown and Markdown Extra). Convert Markdown text to HTML with optional extended syntax, designed for easy embedding in apps and frameworks, with stable output and minimal setup. | 3,458 | 3,548 | 521 | 646K | 87 | 52.3 | 54.9 | NOASSERTION | — | |
| 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 | 137K | 0 | 1.5 | 26.8 | NOASSERTION | 4 years ago | |
| masterminds/html5 | 0.82 | 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 | 1 week ago | |
| symfony/dom-crawler | 0.81 | 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 | 3 days ago | |
| aura/view | 0.81 | Aura.View implements the TemplateView and TwoStepView patterns using PHP itself as the template language, with file-based and closure templates, helpers, and sections. No runtime dependencies; requires PHP 8.4+. | 88 | 89 | 21 | 2K | 1 | 23.1 | 23.5 | MIT | 1 month ago |
How can I help you explore Laravel packages today?