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

Technical Evaluation

Architecture fit — XrowSassBundle is a Symfony bundle: it registers through AppKernel/bundles.php, exposes services via the Symfony DI container, and leans on Symfony's config/asset/console components. Laravel has no bundle concept — extension happens through service providers, facades, and container bindings. Nothing in this package targets Laravel. Adopting it means either pulling Symfony's DI into an Illuminate app (redundant and heavy) or discarding the bundle wrapper entirely to reach the underlying Sass compiler. Net: not an architectural fit; at best a source of a thin compiler wrapper.

Integration feasibility — Low. A 2016-09-23 release implies Symfony 2.x/3.x-era Composer constraints and PHP 5.6/7.0 assumptions. Laravel 9–11 requires PHP 8.0+ and Symfony 6/7 components, so dependency resolution will collide before installation completes. Even with --ignore-platform-reqs, PHP 8 removed each(), tightened type handling, and changed string/array semantics — packages of this vintage typically fatal before boot.

Technical risk — High across every dimension:

  • Abandoned ~9 years: no security patching, no PHP 8 support, no dependency refreshes. The underlying compiler will be a stale leafo/scssphp or a shelled-out Ruby sass, both themselves EOL.
  • Zero stars, zero dependents, score 0.06 — no production evidence, no issue corpus, no maintainer responsiveness.
  • Supply chain: unmaintained transitive dependencies are a standard CVE vector, and nothing here will ever receive a fix.

Key questions

  1. Do we need runtime/server-side SCSS compilation, or is a build-step compiler sufficient? (Almost always the latter.)
  2. Is the requirement "compile Sass" or "reproduce this bundle's specific behavior"?
  3. Who owns a fork if we adopt — named engineer, named budget?
  4. Can scssphp/scssphp or Node sass behind Vite satisfy the need?
  5. Are there licensing/authorship constraints on vendoring xrowgmbh code?

Integration Approach

Stack fit — Poor as-is, good after substitution. Laravel's canonical pipeline (Vite + laravel-vite-plugin) compiles SCSS via the sass npm package at build time with no PHP package at all. If server-side compilation is a genuine requirement (tenant-authored themes compiled at runtime), scssphp/scssphp is the maintained, Composer-native choice and drops behind a Laravel service provider in an afternoon.

Migration path — Do not migrate to this package. If a legacy system already runs it: freeze the SCSS inputs, compile with Vite/sass, serve the resulting CSS through the Vite manifest, then delete the bundle and its Symfony transitive tree.

Compatibility — Effectively none for PHP 8 / Laravel 10+. No constraint rewriting yields a clean install against Symfony 6/7 and modern psr/*. There is no CI configuration, no PHPUnit suite, and no PHP 8 test matrix to lean on.

Sequencing

  1. Timeboxed spike (≤1 day): composer require in a throwaway Laravel 11 app. Expect failure — capture the output as the decision record.
  2. Confirm the actual requirement: build-time vs. runtime SCSS compilation.
  3. Prototype the substitute — Vite sass for build-time, scssphp/scssphp for runtime.
  4. Wrap behind an internal SassCompiler contract so the choice stays reversible.
  5. Only if a hard blocker exists: fork, vendor the compiler core, pin the version, and schedule removal work explicitly.

Operational Impact

Maintenance — Total ownership. No upstream commits since 2016 means every PHP minor upgrade, security advisory, and dependency bump becomes our patch. Realistic cost is either an indefinitely maintained in-house fork or a recurring tax at each platform upgrade.

Support — None. Zero dependents and zero stars means no searchable issue history, no Stack Overflow corpus, no maintainer to escalate to. Debugging falls to reading the bundle source and the stale compiler beneath it. Bus factor of one for whoever figures it out.

Scaling — Runtime compilation scales poorly: each compile is CPU- and memory-bound, unbounded per request, and a natural DoS surface if the SCSS input is user-controllable. Cache by content hash at minimum; better, compile at deploy time and serve static CSS from the CDN. The bundle's Symfony-era Assetic-style caching does not map onto Laravel's cache or Vite's manifest.

Failure modes

  • Composer resolution failure blocks CI outright.
  • PHP fatal on version bump (each(), removed functions, stricter types).
  • Silent partial compilation yielding stale CSS with no source maps.
  • Import/path resolution breaking under Laravel's base_path()/public_path() layout.
  • Request timeouts on large stylesheets.
  • Unpatched transitive vulnerability with no remediation path.

Ramp-up — Steep relative to value. Documentation is a README at best; Symfony idioms (services.yml, annotations) are unfamiliar to Laravel developers. Budget hours just to conclude it's a dead end — which is exactly why the spike must be timeboxed.

Recommendation — Reject for adoption. Score 0.06, zero stars, zero dependents, last release 2016 is a decisive signal, not a marginal one. Use Vite + sass for build-time compilation, or scssphp/scssphp behind an internal contract for runtime needs. Revisit only if a maintained fork appears with a PHP 8+ CI matrix and real dependents.

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
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core