kohkimakimoto / assetic-extension
Assetic extention filters.
dev-master
2013-06-20 13:58 UTC
Requires
- php: >=5.3.0
- coffeescript/coffeescript: dev-master
- kriswallsmith/assetic: ~1.1.1
Requires (Dev)
- phpunit/phpunit: 3.*
This package is auto-updated.
Last update: 2024-12-07 00:29:22 UTC
README
My Assetic extension filters.
List of Filters
CoffeeScriptPhpFilter
: compiles CoffeeScript into Javascript using coffeescript-php
Usage
<?php use Assetic\Asset\AssetCollection; use Assetic\Asset\FileAsset; use Assetic\Filter\CoffeeScriptPhpFilter; $assetCollection = new AssetCollection(); $assetCollection->add(new FileAsset("foo.coffee")); $assetCollection->ensureFilter(new CoffeeScriptPhpFilter()); echo $assetCollection->dump();