PHPackages                             bnowack/scss-watcher - 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. bnowack/scss-watcher

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

bnowack/scss-watcher
====================

SCSS Watcher for multiple and/or nested directories

1.0.6(10y ago)0115MITPHP

Since Feb 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/bnowack/scss-watcher)[ Packagist](https://packagist.org/packages/bnowack/scss-watcher)[ RSS](/packages/bnowack-scss-watcher/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

SCSS Watcher
============

[](#scss-watcher)

The SCSS Watcher is a PHP class that recursively monitors a directory for changed `.scss` files and generates `.css` versions. It requires a `sass` binary to be installed.

The CSS files are generated in `css` directories at the same level as the corresponding `scss` directory, e.g.:

```
/myproject/module1/scss/module1.scss
/myproject/module2/scss/module2.scss
=>
/myproject/module1/css/module1.css
/myproject/module2/css/module2.css

```

SCSS files with a leading `_` in the filename are treated as SCSS configuration files (e.g. for mixins). A change to a system file triggers a re-build of all CSS files.

### Installation

[](#installation)

Add the repository reference to your `composer.json`:

```
"require-dev": {
    "bnowack/scss-watcher": "1.0.0"
}

```

### Usage

[](#usage)

Ideally, the SCSS Watcher is run from the command line. A script is provided:

```
php scripts/watch.php --path=/path/to/entry/directory

```

or (from your repository root):

```
php vendor/bnowack/scss-watcher/scripts/watch.php --path=src --bin=/usr/bin/sass

```

The "bin" parameter is optional. It can be used when auto-detection cannot find the sass binary. On Windows machines the command usually looks like this:

```
php vendor/bnowack/scss-watcher/scripts/watch.php --path=src --bin=C:\Ruby\bin\sass

```

### License

[](#license)

[The MIT License (MIT)](http://opensource.org/licenses/MIT)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~32 days

Recently: every ~26 days

Total

8

Last Release

3875d ago

Major Versions

0.1.0 → 1.0.02015-06-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/27453c4568d44b2f983437011e521c5c6c702002c055d1c01bffc66c581b3fca?d=identicon)[bengee](/maintainers/bengee)

---

Top Contributors

[![bnowack](https://avatars.githubusercontent.com/u/893242?v=4)](https://github.com/bnowack "bnowack (20 commits)")

---

Tags

phpcssscss

### Embed Badge

![Health badge](/badges/bnowack-scss-watcher/health.svg)

```
[![Health](https://phpackages.com/badges/bnowack-scss-watcher/health.svg)](https://phpackages.com/packages/bnowack-scss-watcher)
```

###  Alternatives

[ttskch/select2-bootstrap4-theme

Select2 v4 theme for Bootstrap4

43424.6k2](/packages/ttskch-select2-bootstrap4-theme)[trentrichardson/cakephp-shrink

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

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

A full port of TailwindCSS 4.x to PHP

171.7k1](/packages/tailwindphp-tailwindphp)

PHPackages © 2026

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