PHPackages                             shyim/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shyim/sass

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

shyim/sass
==========

Provides a easy to use wrapper for libsass

81PHP

Since Apr 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/shyim/php-sass)[ Packagist](https://packagist.org/packages/shyim/sass)[ RSS](/packages/shyim-sass/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP wrapper for libsass using FFI
=================================

[](#php-wrapper-for-libsass-using-ffi)

Uses FFI to interact with libsass directly.

Requirements
------------

[](#requirements)

- PHP 7.4 or [FFI Extension](https://github.com/dstogov/php-ffi)
- Currently only binaries for linux available (gnu and musl)

Usage
-----

[](#usage)

```
$compiler = new \ShyimSass\Compiler();

// Set options if wanted
$compiler->setOptions([
    'output_style' => \ShyimSass\Compiler::STYLE_EXPANDED
]);

// Get the compiled string as return value
echo $compiler->compile(__DIR__ . '/test.scss');

// Compile the file into app.css
$compiler->compile(__DIR__ . '/test.scss', __DIR__ . '/app.css');
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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/7c45ef9077b73fce78afbfab2fa27e611a453dd77de003e2785ac84105d02bef?d=identicon)[shyim](/maintainers/shyim)

---

Top Contributors

[![shyim](https://avatars.githubusercontent.com/u/6224096?v=4)](https://github.com/shyim "shyim (2 commits)")

### Embed Badge

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

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

###  Alternatives

[wbl/magento-minify

Simply enables js and css minification.

602.2k](/packages/wbl-magento-minify)

PHPackages © 2026

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