Home > LessCacheer

LessCacheer

LessCacheer is a project mainly written in PHP, it's free.

Open-source CSS Authoring Framework for LessPHP

LessCacheer v1.0.0

http://clearideaz.com

LessCacheer is an open-source CSS Authoring Framework. LessCacheer uses LessPHP.

Features

  1. No presentational classes, LessCacheer uses the power of less mixins
  2. Grid system based on 960 Grid System
  3. Minify CSS with the CSS Compressor developed by Codenothing
  4. YAML based configuration
  5. Cache the generated CSS files with the correct caching headers (ETags, expires header)
  6. Use your own PHP functions inside your less file !
  7. Color converter so that you can use hsl & cmyk colours !
  8. Use variables inside a YAML file and use them inside your less file

How to use in your php project

Requests to CSS files are made through LessCacheer:

<link href="LessCacheer/index.php?f=/css/global.css" rel="stylesheet" />

Copy LessCacheer into your project.

Create a config.yml file inside the LessCacheer folder based on the config.sample.yml file.

That's all folk !

Debugging with FireLess

LessCacheer give you a new tool to work with Firebug : Fireless !

FireLess is a Firebug extension that makes Firebug display the Less filenames and line numbers of LessPHP-generated CSS styles rather than those of the generated CSS. This is an adaptation of the Firesass extension developped by Nex3.

First, install FireLess. Second, enable use_fireless inside the config.yml.