Using variables from PHP code in your LESS files

assetic: filters: lessphp: apply_to: "\.less$" # Formatter options: compressed, lessjs, classic formatter: "compressed" preserve_comments: false presets: my_variable: "#000"

SASS /LESS/ Color Variables

Asset Management with Assetic. Configuration options

Symfony2.1. How to integrate assetic lessphp filter

lessphp filter ignores @import statements


lessphp is a compiler for LESS written in PHP

LESS CSS Assetic Configuration in a Symfony2 Project

bootstrap less => common.less