PHPackages                             javihgil/sass-bridge-bundle - 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. javihgil/sass-bridge-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

javihgil/sass-bridge-bundle
===========================

This bundle allows sass rewrites in symfony projects

v1.0.5(11y ago)078MITPHPPHP &gt;=5.3.2

Since Jun 7Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (7)Used By (0)

SassBridgeBundle
================

[](#sassbridgebundle)

Configure Bundle
----------------

[](#configure-bundle)

**composer.json**

```
require: {
    "javihgil/sass-bridge-bundle": "~1.0"
}

```

Assetic SassRewrite filter configuration
----------------------------------------

[](#assetic-sassrewrite-filter-configuration)

**app/config/config.yml**

```
# Assetic Configuration
assetic:
    ...
    filters:
        sassrewrite:
            resource: %kernel.root_dir%/../src/Jhg/SassBridgeBundle/Resources/config/assetic/sassrewrite.xml
            apply_to: "\.(scss)$"
        ...

```

Hay que apuntar al XML del filtro en *resource* según el directorio de instalación.

**Usage**

```
/* src/....Bundle/Resources/assets/styles/sample.scss */

@import '@OtherBundleBundle/Resources/assets/styles/other-sample.scss';

div#id {
	background-image: url('@OtherBundleBundle/Resources/public/images/sample.png');
}

```

Configure Sass
--------------

[](#configure-sass)

### Ubuntu installation

[](#ubuntu-installation)

```
$ sudo apt-get install ruby
$ sudo gem install sass
$ sudo gem install compass

```

### Symfony config

[](#symfony-config)

**config/parameters.yml**

```
assetic_ruby_bin: /usr/bin/ruby
assetic_compass_bin: /usr/local/bin/compass
assetic_sass_bin: /usr/local/bin/sass

```

**config/config.yml**assetic: .... ruby: "%assetic\_ruby\_bin%" filters: sass: bin: "%assetic\_compass\_bin%" compass: bin: "%assetic\_compass\_bin%"

Bootstrap Sass
--------------

[](#bootstrap-sass)

**composer.json**

```
"require": {
    "twbs/bootstrap-sass": "dev-master"
},

```

**app/config/config.yml**

```
jhg_sass_bridge:
    resources_paths:
        bootstrap: "../vendor/twbs/bootstrap-sass/vendor/assets/stylesheets/bootstrap"

```

### Usage

[](#usage)

```
@import '@boostrap/variables';

```

Configure development cache
---------------------------

[](#configure-development-cache)

Assetic only watch if a file was modified, but no if any of imports were modified.

In development process we want to test any change quick, so we need to disable assetic caching.

**app/config/config\_dev.yml**

```
parameters:
    # overrides assetic cache on development for disable scss caching
    assetic.cache.class: Jhg\SassBridgeBundle\Assetic\Cache\FilesystemDevDisableCache

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity62

Established project with proven stability

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.

###  Release Activity

Cadence

Every ~7 days

Total

6

Last Release

4369d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2581053?v=4)[Javi H. Gil](/maintainers/javihgil)[@javihgil](https://github.com/javihgil)

---

Tags

symfonybundlesass

### Embed Badge

![Health badge](/badges/javihgil-sass-bridge-bundle/health.svg)

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

###  Alternatives

[gwk/dynamo-session-bundle

DynamoDB Session Handler Bundle for Symfony 2

14210.9k](/packages/gwk-dynamo-session-bundle)

PHPackages © 2026

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