Login   Register  
PHP Classes
elePHPant
Icontem

Less.php: Parse and process Leaner CSS files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-09-02 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 437 This week: 1All time: 5,679 This week: 1,432Up
Version License PHP version Categories  
less-php 1.0BSD License5.0PHP 5, Text processing, Templates
Description Author  

This process can be used to parse and process Leaner CSS (LESS) files.

It can parse LESS template files and process it by reading and replacing variable values, insert mixins in class declarations that use them, evaluating operations and expand nested definitions into CSS classes.

The processed CSS is returned as a string.

Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 31
All time rank: 252 in Portugal Portugal
Week rank: 161 Down2 in Portugal Portugal Equal
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

  Files folder image Files  
File Role Description
Files folder imagelib (3 files)
Accessible without login Plain text file lessc Appl. LESS compiler
Accessible without login Plain text file README Doc. Docs
Accessible without login Plain text file reset.css Data Part of the test
Accessible without login Plain text file test.less Data Part of the test
Accessible without login Plain text file test2.less Data Part of the test

  Files folder image Files  /  lib  
File Role Description
  Plain text file common.less.class.php Class Base class (common methods)
  Plain text file entities.less.class.php Class Entities found on LESS code (Scope, Declaration, Property, ..)
  Accessible without login Plain text file functions.less.class.php Aux. Extended functions

 Version Control Unique User Downloads Download Rankings  
 0%Total:437All time:5,679
 This week:1This week:1,432Up