This is an Open Source version of the LESS processor for the PHP programming language. #LESS processor #Dynamic stylesheet #Less.js compiler #LESS #Processor #PHP
Less.php is an open source, free and web-based software written in the PHP server-side scripting language and designed from the offset as a port of the official LESS.js processor to output the same results as LESS 1.4.2. In order to be compatible with the PHP 5.2 or later, the namespaces, shorthand ternary operators and anonymous functions have been removed from Less.php.
Key features include support for evaluating JavaScript expressions, as well as support for adding definition of custom functions. With Less.php you can parse strings, parse Less files, handle invalid Less files, parse multiple sources, compress output, cache CSS, gather information about the parsed files, import directories and set variables. It supports version 3 source maps and can be easily integrated with other open source projects, such as Drupal and WordPress.
The software is distributed as a universal source archive, as well as a binary package. Using the source archive, you will have to extract it and copy the files from the /lib/Less folders to a directory on your web server, include the library and register the Autoloader using the following lines of code:
require_once '[path to less.php]/Autoloader.php'; Less_Autoloader::register();
However, we believe that the simplest way to install Less.php is to use the binary package, which must be extracted on your path, then upload all the .php files to your web server, and include the library by using the “require_once '[path to less.php]/Less.php';” line of code (without quotes, of course).
Using Less.php to do any of the operations enumerated on the “Features at a glance” section above, will require only a few lines of code. You can find detailed examples on the project’s homepage (see link below).
What's new in Less.php 1.7.0.2:
- remove query string and fragment from urls before attempting to import. fixes #101
- add `output` option for Less_Cache::Get(). #102
- Add custom cache method using callbacks
- Change README.md to describe the supported caching methods
Less.php 1.7.0.2
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- less.php_1.7.0.2.zip
- main category:
- Internet
- developer:
- visit homepage
Zoom Client 6.0.3.37634
Context Menu Manager 3.3.3.1
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
IrfanView 4.67
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
Windows Sandbox Launcher 1.0.0
Bitdefender Antivirus Free 27.0.35.146
7-Zip 23.01 / 24.04 Beta
ShareX 16.0.1
calibre 7.9.0
- 7-Zip
- ShareX
- calibre
- Zoom Client
- Context Menu Manager
- 4k Video Downloader
- IrfanView
- Microsoft Teams
- Windows Sandbox Launcher
- Bitdefender Antivirus Free