symfonycasts/sass-bundle
A Symfony bundle that compiles Sass/SCSS to CSS using Dart Sass and integrates with AssetMapper. It provides build and watch commands, source maps, and simple configuration for modern asset pipelines.
composer require) and reversible, which makes it a low-risk default..scss. That determines whether a future migration to CSS-native nesting/custom properties is a rewrite or a rename. Sequence this against any planned design-system refresh.Consider it when:
@mixin/@include, partials, basic @use. Verify each specifically.Look elsewhere when:
Minimum validation before committing (one short spike): compile a representative slice of your real SCSS; measure cold and warm build times; confirm the specific Sass features and vendor libraries you depend on; confirm cache invalidation behaves correctly across deploys.
For executives — one paragraph: "We can author our stylesheets in Sass without adding Node.js, npm, or a JavaScript build step to our Symfony application. That removes a runtime and a dependency tree from CI and production images, reduces the patch burden and supply-chain surface that comes with npm packages, and lets our existing PHP developers own styling work end to end. It's MIT-licensed, a single Composer dependency, and reversible — if it doesn't fit, uninstalling it costs us a day, not a quarter. It's maintained by SymfonyCasts, a well-known name in the Symfony ecosystem, with a recent release."
For engineering — the substance:
.scss/.sass compile into the existing asset pipeline, no separate process.@use, @forward, mixins, functions) before committing.How can I help you explore Laravel packages today?