kylekatarnls/html-object
HTML Object provides an object-oriented way to work with HTML in PHP: create elements, nest children, set attributes, and render clean markup through a fluent API. Useful for reusable components and programmatic HTML generation in any PHP app.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| anahkiasen/html-object | 0.85 | 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 |
|
| setono/html-element | 0.83 | setono/html-element is a lightweight PHP library for creating HTML elements programmatically with a clean, object-oriented API. It simplifies building markup, attributes, and nested content, helping keep templates and components safer and easier to maintain. | 0 | — | 0 | — | 0 | 0.0 | — | MIT | 2 years ago |
|
| thesoftwarefanatics/php-html-parser | 0.83 | A PHP HTML parser for loading, traversing, and manipulating HTML documents. It provides a simple API for extracting elements, attributes, and text, making it useful for scraping, DOM-style processing, and HTML cleanup in PHP applications. | 33 | 33 | 10 | 936 | 4 | 1.8 | 20.8 | MIT | 7 years ago | |
| emanueleminotto/simple-html-dom | 0.83 | 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 | |
| rubobaquero/phpquery | 0.82 | phpQuery brings jQuery-style CSS selectors and chainable DOM manipulation to PHP, wrapping DOMDocument so you can select, traverse, filter, and modify HTML or XML documents server-side, ideal for scraping, templating, and quick document transformations. | 0 | — | 0 | — | 0 | 0.0 | — | — | 4 years ago |
|
| symfony/dom-crawler | 0.82 | 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 | |
| phpgt/dom | 0.82 | 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. | 124 | 126 | 29 | 293K | 2 | 30.2 | 54.2 | MIT | 1 month ago | |
| wa72/htmlpagedom | 0.82 | wa72/htmlpagedom is a PHP library that extends DOMDocument for easy HTML manipulation with jQuery-style methods and CSS selectors. Load HTML strings or files, then query and modify elements using familiar find, filter, addClass, attr, and append APIs, powered by Symfony CssSelector. | 337 | 347 | 46 | 60K | 7 | 10.0 | 35.0 | MIT | 9 months ago | |
| electrolinux/phpquery | 0.82 | 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 | — | — | |
| symfony/css-selector | 0.81 | Converts CSS selectors to XPath expressions, letting you query HTML and XML documents with familiar CSS syntax. A port of Python's cssselect library, part of the Symfony framework. | 7,416 | 7,453 | 43 | 27M | 0 | 58.5 | 57.7 | MIT | 2 days ago | |
| ivopetkov/html5-dom-document-php | 0.81 | A PHP HTML5 DOMDocument library that parses and serializes modern HTML5 reliably while working around native DOMDocument limitations. It adds support for HTML5 tags and CSS selectors, making it easy to load, query, and manipulate documents with clean, familiar APIs. | 600 | — | 43 | — | 8 | 19.2 | 2.5 | MIT | 4 months ago |
|
| erivello/simple-html-dom-bundle | 0.81 | Symfony2 bundle that integrates the Simple HTML DOM Parser, letting you load HTML and find tags with jQuery-like selectors via the simple_html_dom service. Extract links, content, and attributes easily. | 8 | 9 | 12 | 12 | 2 | 0.8 | 5.1 | MIT | — | |
| vardumper/extended-htmldocument | 0.81 | ExtendedHtmlDocument is a PHP library that extends DOMDocument with convenient helpers for loading, querying, and manipulating HTML. It reduces boilerplate for common DOM tasks, making it easier to find elements, traverse markup, and apply changes in scraping or transformation workflows. | 9 | 9 | 2 | 9 | 6 | 21.5 | 6.3 | MIT | 1 week ago | |
| sunra/php-simple-html-dom-parser | 0.81 | A maintained PHP port of Simple HTML DOM for loading and manipulating HTML with jQuery-like CSS selectors. It provides an easy, forgiving API for scraping pages and extracting or editing elements, with Composer support for modern PHP versions. | 1,282 | — | 342 | — | 30 | 27.7 | 18.0 | — | 9 years ago |
|
| innmind/html | 0.81 | Innmind/html is a PHP library for constructing and manipulating HTML documents as immutable object trees. It provides a typed, composable API for elements, attributes, and text, helping you generate clean markup without fragile string concatenation. | 1 | — | 0 | — | 1 | 15.2 | — | MIT | 2 months ago |
|
How can I help you explore Laravel packages today?