fluentdom/selectors-phpcss
fluentdom/selectors-phpcss adds CSS selector support to PHP DOM parsing, letting you query HTML/XML with familiar selectors instead of verbose XPath. Lightweight and easy to integrate, it simplifies scraping, testing, and DOM traversal in PHP projects.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| carica/phpcss | 0.83 | carica/phpcss is a lightweight PHP library for parsing, manipulating, and rendering CSS. It turns stylesheets into an object model so you can inspect or modify rules and declarations, then output clean or optimized CSS for dynamic styles and build tools. | 72 | 74 | 11 | 1K | 3 | 1.4 | 17.3 | — | 5 years ago | |
| phpgt/cssxpath | 0.82 | Lightweight, dependency-free PHP library that translates CSS selectors into XPath queries, bringing querySelectorAll-style DOM selection to PHP. Works with HTML and, via htmlMode: false, case-sensitive XML attributes. | 25 | 27 | 11 | 317K | 0 | 23.3 | 64.2 | MIT | 1 month ago | |
| zendframework/zend-dom | 0.82 | Zend\Dom provides tools for parsing and querying HTML and XML documents, including CSS selector support translated to XPath via Zend\Dom\Query. A legacy Zend Framework component for DOM inspection and extraction. | 29 | — | 14 | — | 4 | 0.8 | 0.8 | BSD-3-Clause | 7 years ago |
|
| symfony/css-selector | 0.82 | 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 | |
| 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. | 3 | 3 | 1 | 127K | 0 | 4.2 | 55.3 | MIT | 2 years ago | |
| wa72/htmlpagedom | 0.80 | 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 | |
| machy8/macdom | 0.80 | Macdom is a Laravel package for building and manipulating HTML elements in PHP. It provides a fluent, macroable API for creating nested markup, attributes, and dynamic content, helping keep Blade templates cleaner and easier to maintain. | 11 | — | 3 | — | 0 | 0.1 | — | BSD-3-Clause | 9 years ago |
|
| sabberworm/php-css-parser | 0.79 | A PHP library that parses CSS files into a manipulable data structure, allowing programmatic editing of rules and declarations before outputting optimized CSS. Supports custom charsets, strict parsing and optional multi-byte functions. Install via Composer. | 1,826 | 1,836 | 154 | 8M | 143 | 59.7 | 83.2 | MIT | 1 month ago |
How can I help you explore Laravel packages today?