PHPackages                             evo/sass - 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. [CLI &amp; Console](/categories/cli)
4. /
5. evo/sass

ActiveLibrary[CLI &amp; Console](/categories/cli)

evo/sass
========

CLI wrapper for leafo\\scss

04PHP

Since Apr 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ArtisticPhoenix/SCSS)[ Packagist](https://packagist.org/packages/evo/sass)[ RSS](/packages/evo-sass/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Command line wrapper for `leafo\scssphp` complier

For documentation on that please go here:

This also uses a few of my other projects as dependancies, primarally my CLI libarary:

### Arguments

[](#arguments)

LongNameShortNameRequiredRequired ValueNoteshelphnonoDisplays the help documentbootstrapbyesyesdebugdnonoAnnotate selectors with CSS referring to the source file and line numberformatfnoyeset the output format (compact, compressed, crunched, expanded, or nested)configcnoyesConfig file, used to simplify the command line callsimportinoyesSet import path, multiple paths can be set with a comma seperated listlinenumberlnonoAnnotate selectors with comments referring to the source file and line numbernocachennonoBypass caching, force compilemapsourcemnonoCreate source map fileoutputoyesyesFile to output compiled css to (must end in .css)precisionpnoyesSet decimal number precision (default 10)skipsnonoContinue compilation (as best as possible) when error encounteredcacheanoyesCache file path, filenames are ignored (defult the current dir)treetnonoDump formatted parse treeversionvnonoPrint the version**Terms**

- **LongName** when using in the CLI long names should begin with `--` (double hyphen) for example `php /pathto/SCSS --help`. For HTTP requests, simply use either the longname or the shortname as part of the request data. for example `www.localhost/SCSS?help`.
- **ShortName** when using in the CLI shourt names should begin with `-` (single hypen) for example `php /pathto/SCSS -h` For HTTP requests, simply use either the longname or the shortname as part of the request data. for example `www.localhost/SCSS?h`
- **Required** These arguments must be present in either the `--config` file or as part of the request.
- **Required Value** If these arguments are present they must have a value. They are not nessacarly required for the application to run, but when included they must contain a value.

One of the best examples I can show is using the help argument.

```
#via HTTP get (short name)
http://localhost/SCSS/?h
http://localhost/SCSS/?help

#via Command line
php /home/app/SCSS/index.php -h
php /home/app/SCSS/index.php --help

```

In either case your output should be something like this:

```
Usage: php  [--] [args...]
    -h, --help           Show this help document
    -b, --bootstrap      SCSS Bootstraper file (should include @imports)
    -d, --debug          Annotate selectors with CSS referring to the source file and line number
    -f, --format         Set the output format (compact, compressed, crunched, expanded, or nested)
    -c, --config         Config file
    -i, --import         Set import path, multiple paths can be set with a comma seperated list
    -l, --linenumber     Annotate selectors with comments referring to the source file and line number
    -n, --nocache        Bypass caching
    -m, --mapsource      Create source map file
    -o, --output         File to output to
    -p, --precision      Set decimal number precision (default 10)
    -s, --skip           Continue compilation (as best as possible) when error encountered
    -a, --cache          Cache file path, filenames are ignored (defult the current dir)
    -t, --tree           Dump formatted parse tree
    -v, --version        Print the version

```

**Installation**

You can get it from composer, by requiring it.

```
"require" : {
    "evo/cli" : "~1.0"
}

```

It has some dependancies (which are included in the composer.json file).

```
"require" : {
	"php" : ">=5.6",
	"evo/patterns" : "~1.0",
	"evo/exception" : "dev-master",
	"leafo/scssphp" : "~0.7",
	"evo/cli" : "~1.0"
}

```

While not really being meant for use through the browser you can use it that way if you really want to. In generally you would not include this libarary with your project. Instead install it someplace outside of you project. Then add a config file like this somewhere in your project:

```
if(!defined('ARTISTICPHOENIX_DIR')) define('ARTISTICPHOENIX_DIR', str_replace('\\','/', realpath(__DIR__.'/../..')));
return array(
    'output'        => ARTISTICPHOENIX_DIR.'/css/style-override.css',
    'import'        => ARTISTICPHOENIX_DIR.'/scss',
    'cache'         => __DIR__,
    'format'        => 'expanded',//compact|compressed|crunched|expanded|nested
    'bootstrap'     => 'bootstrap',
);

```

All of these setting can also be sent directly via arguments thorugh the CLI, GET or even POST.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/73ff70bb5a9ec9b1a9372e4246373418e694cac33b4353befd95487047d856bc?d=identicon)[ArtisticPhoenix](/maintainers/ArtisticPhoenix)

---

Top Contributors

[![ArtisticPhoenix](https://avatars.githubusercontent.com/u/8208075?v=4)](https://github.com/ArtisticPhoenix "ArtisticPhoenix (5 commits)")

### Embed Badge

![Health badge](/badges/evo-sass/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)

PHPackages © 2026

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