- 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$"
Once you've added those lines, you'll want to run: