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.
Package info
github.com/boltconcepts/BDevAsseticBundle
Type:symfony-bundle
pkg:composer/boltconcepts/bdev-assetic-bundle
dev-master
2013-03-08 19:00 UTC
Requires
- php: >=5.3.2
- symfony/assetic-bundle: >=2.0,<2.3-dev
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.
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