Skip to content This repository   Subversion checkout URL  You
can clone with HTTPS or Subversion.  Download ZIP  LESS compiler
written in php  branch: master  Fetching latest commit…   Cannot
retrieve the latest commit at this time  Octocat-spinner-32 docs
Octocat-spinner-32 tests Octocat-spinner-32 .gitignore Octocat-
spinner-32 LICENSE Octocat-spinner-32 README Octocat-spinner-32
plessc lessphp v0.1.6  lessphp is a compiler for LESS written in
php.  How to use in your php project  Copy to your include
directory and include it into your project.  There are a few
ways to interface with the compiler. The easiest is to have it
compile a LESS file when the page is requested. The static
function  less::ccompile, checked compile, will compile the
input LESS file only when it is newer than the output file.
try {                 lessc::ccompile('input.less',
'output.css');         catch (exception $ex) {  Note that all
failures with lessc are reported through exceptions. If you need
more control you can make your own instance of lessc