MyIntervals/PHP-CSS-Parser
A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 99
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 106
- age_days: 5853
- days_rel: 76
- days_push: 8
- n_releases_24m: 8
Adoption not part of the score
1826 stars · 153 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library that parses CSS files into a manipulable data structure and can output the structure back as (optimized) CSS. It supports strict or lenient parsing, charset handling, and programmatic manipulation of rules, selectors, and values.
Use cases
- parse css files in php
- extract css rules into a data structure
- programmatically modify css stylesheets
- minify or optimize css output
- analyze css selectors and rules in php
- convert css files to structured data
When to choose
- you need to parse, inspect, or transform CSS from PHP code
- you want to build CSS tooling like minifiers or linters in PHP
- you need tolerant parsing of real-world CSS including legacy IE constructs
When to avoid
- you need a browser-grade CSS engine or full CSS selector matching
- you work outside PHP
- you need to render or apply CSS to HTML documents
Facets
library · maturity active
parser css-framework web-development frontend parsers php cli css css-parser composer-package css-manipulation css-optimization
3 sources
- readme: https://github.com/MyIntervals/PHP-CSS-Parser · fetched 2026-08-28 · 96ea55647ac7
- homepage: http://www.sabberworm.com/blog/2010/6/10/php-css-parser · fetched 2026-08-29 · 9084ee79ffc6
- site_page: https://www.sabberworm.com/about · fetched 2026-08-29 · 98a046a51f4c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MyIntervals/PHP-CSS-Parser | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="MyIntervals/PHP-CSS-Parser")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem