PHPackages                             regaddi/scssphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. regaddi/scssphp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

regaddi/scssphp
===============

scssphp is a compiler for SCSS written in PHP.

v0.0.5(13y ago)121MITPHPPHP &gt;=5.2.0

Since Jul 30Pushed 10y agoCompare

[ Source](https://github.com/Regaddi/scssphp)[ Packagist](https://packagist.org/packages/regaddi/scssphp)[ Docs](http://leafo.net/scssphp/)[ RSS](/packages/regaddi-scssphp/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

scssphp v0.0.5
==============

[](#scssphp-v005)

###

[](#httpleafonetscssphp)

[![Build Status](https://camo.githubusercontent.com/04f8c8bf1421ba6251dfdd6ca1b1b4f5349cff39057680e25db4acdaef5392e3/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6c6561666f2f736373737068702e706e67)](http://travis-ci.org/leafo/scssphp)

`scssphp` is a compiler for SCSS written in PHP.

It implements SCSS 3.2.7. It does not implement the SASS syntax, only the SCSS syntax.

Checkout the homepage, , for directions on how to use.

Running Tests
-------------

[](#running-tests)

`scssphp` uses [PHPUnit](https://github.com/sebastianbergmann/phpunit) for testing.

Run the following command from the root directory to run every test:

```
phpunit tests

```

There are two kinds of tests in the `tests/` directory:

- `ApiTests.php` contains various unit tests that test the PHP interface.
- `InputTests.php` compiles every `.scss` file in the `tests/inputs` directory then compares to the respective `.css` file in the `tests/outputs` directory.

When changing any of the tests in `tests/inputs`, the tests will most likely fail because the output has changed. Once you verify that the output is correct you can run the following command to rebuild all the tests:

```
BUILD=true phpunit tests

```

This will compile all the tests, and save results into `tests/outputs`.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Total

5

Last Release

4859d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1336590?v=4)[Christian Stuff](/maintainers/Regaddi)[@Regaddi](https://github.com/Regaddi)

---

Top Contributors

[![leafo](https://avatars.githubusercontent.com/u/15198?v=4)](https://github.com/leafo "leafo (213 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (27 commits)")[![clue](https://avatars.githubusercontent.com/u/776829?v=4)](https://github.com/clue "clue (14 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (14 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (2 commits)")[![jamesshannon](https://avatars.githubusercontent.com/u/761381?v=4)](https://github.com/jamesshannon "jamesshannon (1 commits)")[![ShaneHudson](https://avatars.githubusercontent.com/u/487005?v=4)](https://github.com/ShaneHudson "ShaneHudson (1 commits)")[![siwinski](https://avatars.githubusercontent.com/u/1034024?v=4)](https://github.com/siwinski "siwinski (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/regaddi-scssphp/health.svg)

```
[![Health](https://phpackages.com/badges/regaddi-scssphp/health.svg)](https://phpackages.com/packages/regaddi-scssphp)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
