- Add the following package to your composer.json:
"require": {
...
"leafo/lessphp": "dev-master",
...
}
- Run
php composer.phar update
;
#...
assetic:
#...
filters:
lessphp:
file: %kernel.root_dir%/../vendor/leafo/lessphp/lessc.inc.php
apply_to: "\.less$"
Why all the files in lessphp folder inside the vendor get ignored by git ? I have to install lessphp everytime I clone the repo! :S