PHPackages                             glorpen/compass-connector-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. glorpen/compass-connector-bundle

ActiveSymfony-bundle

glorpen/compass-connector-bundle
================================

Symfony2 bundle for AsseticCompassConnector filter

v0.4.4(12y ago)37991[1 issues](https://github.com/glorpen/GlorpenCompassConnectorBundle/issues)GPL-3.0PHPPHP &gt;=5.3.2

Since Apr 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/glorpen/GlorpenCompassConnectorBundle)[ Packagist](https://packagist.org/packages/glorpen/compass-connector-bundle)[ Docs](https://bitbucket.org/glorpen/glorpencompassconnectorbundle)[ RSS](/packages/glorpen-compass-connector-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (11)Used By (0)

> **This project is now DEPRECATED. Currently there are better alternatives, please use those in new projects.**

GlorpenCompassConnectorBundle
-----------------------------

[](#glorpencompassconnectorbundle)

The better Compass integration for Symfony2.

For forking and other funnies:

-
-

### What problems is it solving?

[](#what-problems-is-it-solving)

This bundle:

- adds bundle namespace for compass files - so you can do cross bundle imports or use assets from other bundle
    - ... and it should enable distributing bundles with compass assets
- you don't need installed assets in `your_app/web` - connector uses files from eg. `SomeBundle/Resources` dir
- assets recompiling/updating when any of its dependencies are modified - be it another import, inlined font file or just `width: image-width(@SomeBundle:public/myimage.png);`
- for referencing files inside `app/Resources` dir use just `@somefile.png` (sprites, inline images, scss imports)

### How to install

[](#how-to-install)

- first, you need to install ruby connector gem:

```
gem install compass-connector
```

- add requirements to composer.json:

```
{
    "require": {
        "glorpen/compass-connector-bundle": "*"
    }
}
```

- enable the bundle in your **AppKernel** class

*app/AppKernel.php*

```
