Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sass Bundle Laravel Package

xrow/sass-bundle

xrow/sass-bundle is a Symfony bundle that integrates Sass/SCSS compilation into Symfony applications. It provides configuration and services to compile Sass stylesheets as part of your asset workflow, simplifying frontend styling for Symfony projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. wire-it-yourself for asset compilation: this package is a thin Symfony wrapper around a PHP Sass compiler. It answers the question "can we avoid a Node toolchain?" with a qualified yes — but only for legacy, server-rendered setups. That's a real decision point for teams on shared hosting or locked-down CI where npm install isn't available.
  • Runtime theming / multi-tenant styling: the one genuinely interesting use case is compiling SCSS with per-tenant variables (brand colors, spacing scales) at deploy or cache-warm time, entirely in PHP. If your product roadmap includes white-labeling without a front-end build per customer, server-side Sass compilation is worth evaluating.
  • Roadmap sequencing: in practice, this package's main contribution to a modern roadmap is as a negative data point — it demonstrates that "compile Sass in PHP" was a niche need that the ecosystem solved elsewhere (Vite, dart-sass, Laravel Mix). It should inform a decision to not invest here.
  • Not a candidate for feature work: with 0 stars, 0 dependents, and a last release in September 2016, there is no signal of production use. Any roadmap item that depends on it is a roadmap item that depends on an unmaintained Symfony bundle.

When to Consider This Package

Adopt only if all of the following hold — and expect to be alone:

  • You are on Symfony, not Laravel. This is a bundle (XrowSassBundle), so it assumes Symfony's DI container, bundle registration, and config tree. Wiring it into Laravel means bypassing the bundle's only real value.
  • You have a hard constraint against Node/npm in your build or runtime environment.
  • You need Sass compiled server-side at runtime, not at build time — e.g., theme variables stored in a database.
  • You are willing to fork it and own maintenance, because upstream is dormant.

Look elsewhere in essentially every other case:

  • Laravel, any version: use Vite with laravel-vite-plugin and sass — the default, maintained path.
  • Legacy Laravel: Laravel Mix still works, though it's in maintenance mode.
  • You specifically need PHP-side compilation: use scssphp/scssphp directly behind a small service class. It's actively maintained and gives you the same capability without a dead framework adapter.
  • Symfony today: Symfony AssetMapper with the Sass binary, or Webpack Encore.
  • CI-only compilation: dart-sass in a pipeline step is faster, spec-compliant, and has no PHP runtime cost.

Red flags worth stating plainly: zero stars and zero dependents means no community triage, no security review, and no compatibility patches for PHP 8.x or modern Symfony. The 2016 release predates PHP 7.2, so expect deprecation noise at minimum.

How to Pitch It (Stakeholders)

To executives: This is not a dependency we should take on. It's a nine-year-abandoned wrapper with no users, no maintainers, and no security posture. The capability it provided — compiling Sass without a JavaScript build step — is now a commodity solved by tools we already run. Recommendation: no adoption; if the underlying need appears, we solve it in-house in a few hundred lines rather than inheriting an unowned library.

To engineering: The bundle is a thin Symfony-layer convenience over a PHP Sass compiler. There's nothing in it we can't replicate in an afternoon with scssphp and a cached compiler service — and we'd get PHP 8 support and a maintainer in the process. If the actual requirement is per-tenant theming, the design pattern worth stealing is simple: compile on deploy or on theme-change, write to a cache directory, serve static CSS. Don't let a 2016 Symfony bundle into a Laravel codebase; the integration cost exceeds the build cost.

Positioning in one line: A useful reminder that server-side Sass compilation is a solved, low-value problem — solved better today by build-time tooling.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
diephp/perhaps
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation