PHPackages                             jefersonoj/lessphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jefersonoj/lessphp

ActiveLibrary

jefersonoj/lessphp
==================

lessphp is a compiler for LESS written in PHP.

v0.5.0(11y ago)03.2k↓41.7%2MITPHP

Since Jun 10Pushed 5y agoCompare

[ Source](https://github.com/jefersonoj/lessphp)[ Packagist](https://packagist.org/packages/jefersonoj/lessphp)[ Docs](http://leafo.net/lessphp/)[ RSS](/packages/jefersonoj-lessphp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

[![Build Status](https://camo.githubusercontent.com/3f930300a03240e8d466cc40c54a78cd37b496eeeef94f713d731141ccdf79f2/68747470733a2f2f7472617669732d63692e6f72672f6c6561666f2f6c6573737068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/leafo/lessphp)

lessphp v0.5.0
==============

[](#lessphp-v050)

###

[](#httpleafonetlessphp)

`lessphp` is a compiler for LESS written in PHP. The documentation is great, so check it out: .

Here's a quick tutorial:

### How to use in your PHP project

[](#how-to-use-in-your-php-project)

The only file required is `lessc.inc.php`, so copy that to your include directory.

The typical flow of **lessphp** is to create a new instance of `lessc`, configure it how you like, then tell it to compile something using one built in compile methods.

The `compile` method compiles a string of LESS code to CSS.

```
