Looking for one more asset management tool to use? Check out assetic:
[sourcecode lang=”php”]
use AsseticAssetAssetCollection;
use AsseticAssetFileAsset;
use AsseticAssetGlobAsset;
$js = new AssetCollection( [
new GlobAsset(‘/path/to/js/*’),
new FileAsset(‘/path/to/another.js’),
] );
echo $js->dump();
[/sourcecode]