carica/phpcss
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wikimedia/zest-css | 0.85 | Zest is a fast PHP CSS selector parser and matcher for DOM documents, letting you query HTML/XML with familiar CSS selectors. Lightweight and standards-focused, it’s useful for scraping, testing, and DOM traversal. | 4 | 4 | 2 | 28K | 0 | 0.1 | 51.7 | MIT | — | |
| zendframework/zend-dom | 0.85 | 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 |
|
| wa72/htmlpagedom | 0.85 | 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 | |
| martyrer/simple-html-dom-bundle | 0.84 | 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 | — | — | — | |
| codeat3/inlinestyle | 0.84 | InlineStyle converts embedded/external CSS into inline style attributes on HTML elements—ideal for HTML emails where clients ignore stylesheets. Load HTML from a file or string, extract/apply stylesheets (with optional base URL), then get the modified HTML. | 0 | 0 | 0 | 489 | 0 | 0.9 | 37.2 | MIT | 2 years ago | |
| sunra/php-simple-html-dom-parser | 0.84 | 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 |
|
| phpgt/dom | 0.84 | 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 | |
| symfony/css-selector | 0.84 | 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 | |
| electrolinux/phpquery | 0.83 | 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 | — | — | |
| websharks/css-minifier | 0.83 | A PHP CSS minifier that strips whitespace, comments, and redundant syntax to shrink stylesheets for faster page loads. Simple API for minifying CSS strings or files, usable in Laravel or any standalone PHP project. | 18 | — | 1 | — | 0 | 0.1 | — | GPL-3.0 | 11 years ago |
|
| tburry/pquery | 0.83 | pQuery is a jQuery-inspired PHP library for parsing and manipulating HTML. It offers CSS selector queries, chainable DOM traversal and modification, and a familiar API for scraping or transforming markup without fragile regex. | 133 | — | 26 | — | 8 | 3.9 | 3.0 | LGPL-2.1 | 10 years ago |
|
| fkr/cssurlrewrite-bundle | 0.83 | Symfony2/Assetic filter that rewrites relative url() paths in CSS so assets (images/fonts) resolve correctly after assets:install. Optionally rewrites only when the target file exists and can normalize/clean generated URLs. | 33 | 37 | 15 | 148 | 0 | 0.9 | 7.1 | — | 10 years ago | |
| carteni/highlight-bundle | 0.83 | — | 0 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 9 years ago | |
| padaliyajay/php-autoprefixer | 0.83 | A PHP port of Autoprefixer that adds vendor prefixes to your CSS without Node.js or PostCSS. Write modern properties and let it handle browser compatibility, with support for custom browser lists and working from CSS files or strings. | 46 | — | 12 | — | 0 | 2.3 | — | MIT | 11 months ago |
|
| php-collective/symfony-djot | 0.83 | Symfony integration for Djot, the lightweight markup language. Provides bundle configuration, service wiring, and Twig rendering so you can parse and display Djot content in Symfony applications with minimal setup. | 0 | 0 | 0 | 0 | 0 | 8.4 | — | MIT | 7 months ago | |
| webimpress/coding-standard | 0.83 | Opinionated PHP_CodeSniffer rules from Webimpress for consistent PHP style. Extends common standards, adds project conventions, and ships with ready-to-use configs for enforcing formatting and best practices across your codebase. | 15 | 15 | 7 | 84K | 5 | 9.2 | 53.7 | BSD-2-Clause | 2 years ago | |
| krisawzm/critical-css | 0.83 | Laravel package that speeds up page rendering by extracting and inlining critical CSS, so above-the-fold content paints immediately while the full stylesheet loads asynchronously. | 46 | — | 31 | — | 9 | 4.3 | 3.8 | MIT | 9 years ago | |
| simplehtmldom/simplehtmldom | 0.83 | simplehtmldom is a fast, flexible PHP HTML DOM parser that turns messy, invalid HTML into a traversable tree. Use jQuery-like selectors to find, extract, and manipulate elements, attributes, and text with minimal code. Lightweight, dependency-free, and ideal for scraping, templating, and document pr... | 189 | — | 55 | — | 0 | 3.0 | 0.8 | MIT | — | |
| symfony/dom-crawler | 0.83 | 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 | |
| cerdic/css-tidy | 0.83 | CSSTidy is a PHP CSS parser and minifier with full CSS3 support. Optimizes and fixes styles without regex for higher reliability. Includes web UI, core parser class, and a standalone CLI (pcsstidy). | 211 | 211 | 62 | 28K | 2 | 3.6 | 30.5 | LGPL-2.1 | — |
How can I help you explore Laravel packages today?