LESS compiler written in PHP

lessphp is a compiler that generates CSS from a superset language which adds a collection of convenient features often seen in other languages. All CSS is compatible with LESS, so you can start using new features with your existing CSS.

It is designed to be compatible with less.js, and suitableas a drop in replacement for PHP projects.

https://github.com/leafo/lessphp

The documentation is great, so check it out: http://leafo.net/lessphp/docs/.