sabberworm/php-css-parser
Parse and manipulate CSS in PHP with a fast, flexible parser. Convert CSS into an object model, inspect and edit rules, selectors, and declarations, then render back to CSS. Useful for minifying, rewriting assets, or building CSS tooling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nikic/php-parser | 0.83 | Parse PHP code into an Abstract Syntax Tree (AST) for static analysis, manipulation, and code generation. Supports PHP 5.x to 8.4, handles errors gracefully, and preserves formatting during AST-to-code conversion. Easily traverse, modify, and convert ASTs back to PHP, with JSON serialization support... | 17,450 | 17,523 | 1,129 | 17M | 49 | 85.1 | 74.2 | BSD-3-Clause | 2 weeks ago | |
| ptachoire/cssembed | 0.82 | Embed and inline images in CSS by converting them to data URIs. ptachoire/cssembed scans your stylesheets for url(...) references and replaces eligible assets with base64-encoded content, reducing HTTP requests and simplifying distribution of self-contained CSS. | 19 | 22 | 6 | 2K | 1 | 0.6 | 28.3 | MIT | — | |
| leafo/scssphp | 0.81 | leafo/scssphp is a PHP compiler for SCSS/Sass. Use it to compile .scss files to CSS in PHP apps, with support for variables, nesting, mixins, imports, and more. Handy for build pipelines, theming, or on-the-fly stylesheet generation. | 1,331 | 1,407 | 211 | 36K | 5 | 23.6 | 22.1 | MIT | 7 years ago | |
| scssphp/scssphp | 0.81 | SCSSPHP is a PHP-based SCSS compiler for compiling .scss to CSS in your apps and build pipelines. Includes PHPUnit test suite, PSR-12 coding standards, and PHPStan static analysis tooling for contributors. | 629 | 640 | 90 | 896K | 12 | 27.2 | 51.9 | MIT | 8 months ago | |
| armin/scssphp-bundle | 0.80 | — | 3 | 4 | 3 | 0 | 2 | 0.5 | — | — | — | |
| kzykhys/ciconia | 0.71 | Ciconia is a flexible CommonMark/Markdown parser for PHP, converting Markdown to HTML with support for GitHub-flavored syntax and extensions. Designed to be customizable, it fits well in apps needing reliable Markdown rendering and control over output. | 350 | 353 | 28 | 156 | 15 | 10.9 | 8.5 | MIT | 12 years ago | |
| pmjones/php-styler | 0.70 | PHP-Styler is a PHP 8.1 code formatter that fully rewrites formatting for consistent spacing, indentation, and line splitting. It preserves code logic and comments, aims for diff-friendly output, and supports customizable styles/rules for structural transformations. | 41 | 41 | 2 | 28 | 0 | 23.4 | 3.5 | MIT | 2 months ago | |
| league/commonmark | 0.69 | Extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. Works with PHP 7.4+ (mbstring) and provides simple converters to turn Markdown into HTML with configurable safety options. | 2,968 | 3,010 | 214 | 11M | 20 | 57.6 | 70.1 | BSD-3-Clause | 1 week ago |
How can I help you explore Laravel packages today?