boltconcepts/bdev-assetic-bundle

This package is abandoned and no longer maintained. The author suggests using the alexandresalome/assetic-extra-bundle package instead.

Extends the Symfony2 AsseticBundle with some tweaks and hacks.

dev-master 2013-03-08 19:00 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:24:04 UTC


README

This bundle extends the Symfony2 AsseticBundle with some tweaks and hacks.

Build Status

LessPHP

Add's a load_paths configuration option to the LessphpFilter.

#app/config/config.yml
assetic:
  filters:
    lessphp:
      .....
      load_paths: [ "%kernel.root_dir%/../vendor/fortawesome/", "%kernel.root_dir%/../vendor/twitter/", "%kernel.root_dir%/../vendor/jschr/" ]

FontDirectoryFormulaLoader

This formula loader add's the hack/ability to copy a directory with font files to font/.

assetic.font_awesome.fonts:
  class: %assetic.font_directory_resource.class%
    arguments:
      - "my/dir/" # Change this to the directory with your font files
    tags:
      - { name: assetic.formula_resource, loader: font_directory_loader }

The FontDirectoryFormulaLoader is a hack but it can make managing things like Font Awesome easy