# leafo/scssphp

SCSS compiler written in PHP

Repository: https://github.com/leafo/scssphp
Canonical: https://ross.abutalabs.com/products/scssphp
Language: PHP
License: MIT
License Family: permissive
Last push: 2019-09-13T13:43:10+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5148, "days_push": 2546, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1331, forks 210 (observed 2026-08-28T04:04:24.380841+00:00)

## What it is
scssphp is a compiler for SCSS (Sass) written entirely in PHP, converting SCSS stylesheets into CSS without needing Ruby or Node.js. This original leafo repository is archived; development continues at scssphp/scssphp.

## Use cases
- compile scss to css in a php application
- compile sass stylesheets without ruby or node
- integrate scss compilation into a php build pipeline
- serve compiled css dynamically from php
- process scss files on a php-only hosting environment

## When to choose
- you need SCSS compilation in a pure PHP environment with no external toolchain
- you want runtime or build-time SCSS-to-CSS conversion in a PHP app

## When to avoid
- starting a new project - use the actively maintained scssphp/scssphp fork instead
- you can use the official Dart Sass or Node-based toolchains

## Facets
- artifact type: library
- maturity: abandoned
- function: compiler, parser
- domain: web-development, frontend, developer-tools
- platform: php
- tags: scss, sass, css, stylesheet-compiler

## Member repositories
- leafo/scssphp (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:24.380841+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:17.620654+00:00, confidence not recorded.
  - readme: https://github.com/leafo/scssphp (fetched 2026-08-28T04:04:24.380841+00:00, sha 8e78036a8678)
- Data as of 2026-08-30T08:39:29.467469+00:00.
