PHPackages                             messagebooster/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. messagebooster/scssphp

ActiveLibrary

messagebooster/scssphp
======================

scssphp is a compiler for SCSS written in PHP.

v0.1.1(11y ago)028MITPHPPHP &gt;=5.3.0

Since Jul 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/MessageBooster/scssphp)[ Packagist](https://packagist.org/packages/messagebooster/scssphp)[ Docs](http://leafo.net/scssphp/)[ RSS](/packages/messagebooster-scssphp/feed)WikiDiscussions master Synced 1mo ago

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

scssphp v0.1.1
==============

[](#scssphp-v011)

###

[](#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.12. 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:

- `ApiTest.php` contains various unit tests that test the PHP interface.
- `ExceptionTest.php` contains unit tests that test for exceptions thrown by the parser and compiler.
- `InputTest.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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% 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 ~49 days

Recently: every ~2 days

Total

16

Last Release

4296d ago

PHP version history (2 changes)v0.0.5PHP &gt;=5.2.0

v0.1.0PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b06ebba43df36feb9b497043ba7dc6e1479a88cab99ed753bebab2829c94cc20?d=identicon)[messagebooster](/maintainers/messagebooster)

---

Top Contributors

[![leafo](https://avatars.githubusercontent.com/u/15198?v=4)](https://github.com/leafo "leafo (219 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (126 commits)")[![clue](https://avatars.githubusercontent.com/u/776829?v=4)](https://github.com/clue "clue (15 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (14 commits)")[![vladimmi](https://avatars.githubusercontent.com/u/891830?v=4)](https://github.com/vladimmi "vladimmi (4 commits)")[![caiosm1005](https://avatars.githubusercontent.com/u/4460538?v=4)](https://github.com/caiosm1005 "caiosm1005 (3 commits)")[![sergeylukin](https://avatars.githubusercontent.com/u/720339?v=4)](https://github.com/sergeylukin "sergeylukin (2 commits)")[![jamesshannon](https://avatars.githubusercontent.com/u/761381?v=4)](https://github.com/jamesshannon "jamesshannon (2 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (2 commits)")[![oscherler](https://avatars.githubusercontent.com/u/189712?v=4)](https://github.com/oscherler "oscherler (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)")[![aaukt](https://avatars.githubusercontent.com/u/5297402?v=4)](https://github.com/aaukt "aaukt (1 commits)")[![kasperisager](https://avatars.githubusercontent.com/u/1174718?v=4)](https://github.com/kasperisager "kasperisager (1 commits)")[![GabrielGil](https://avatars.githubusercontent.com/u/961534?v=4)](https://github.com/GabrielGil "GabrielGil (1 commits)")[![MessageBooster](https://avatars.githubusercontent.com/u/8695709?v=4)](https://github.com/MessageBooster "MessageBooster (1 commits)")

---

Tags

csssassscsslessstylesheet

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[scssphp/scssphp

scssphp is a compiler for SCSS written in PHP.

62827.7M220](/packages/scssphp-scssphp)[zurb/foundation

The most advanced responsive front-end framework in the world.

29.8k380.2k15](/packages/zurb-foundation)[wikimedia/less.php

PHP port of the LESS processor

12327.4M77](/packages/wikimedia-lessphp)[efficiently/larasset

Larasset is a library for Laravel 5 which manage assets in an easy way.

684.8k](/packages/efficiently-larasset)[nizsheanez/yii2-asset-converter

Less, Sass, Scss and Phamlp converter for Yii2. No system requires. yii2-composer support, Less autoupdate, customizing of output directory

64167.5k6](/packages/nizsheanez-yii2-asset-converter)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.3k](/packages/trentrichardson-cakephp-shrink)

PHPackages © 2026

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