Title: Less PHP Compiler
Author: Ari Stathopoulos
Published: <strong>2014 年 1 月 30 日</strong>
Last modified: 2016 年 4 月 23 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/lessphp.svg)

# Less PHP Compiler

 作者：[Ari Stathopoulos](https://profiles.wordpress.org/aristath/)

[下载](https://downloads.wordpress.org/plugin/lessphp.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/lessphp/#description)
 * [评价](https://cn.wordpress.org/plugins/lessphp/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/lessphp/#developers)

 [支持](https://wordpress.org/support/plugin/lessphp/)

## 描述

This is a simple plugin that loads the Less.php and scssc classes and makes them
available to other plugins and themes.
 When activated this plugin will not do anything.
It has no functionality on its own, but can be used as a dependency for other plugins&
themes.

Includes the Less.php class from http://lessphp.gpeasy.com/ and scss from http://
leafo.net/scssphp/

## 评价

此插件暂无评价。

## 贡献者及开发者

「Less PHP Compiler」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Dimitris Kalliris ](https://profiles.wordpress.org/fovoc/)
 *   [ Unyson ](https://profiles.wordpress.org/unyson/)

[帮助将「Less PHP Compiler」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/lessphp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/lessphp/)，查看[SVN仓库](https://plugins.svn.wordpress.org/lessphp/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/lessphp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/lessphp/)。

## 更新日志

#### 2.0.1

 * PHP 5.2 support: Replaced `__DIR__` with `dirname(__FILE__)`

#### 2.0.0

 * Bugfixes

#### 1.9.0

 * Included a new Pre_Processors_Compiler class (pending documentation)

#### 1.8.0

 * Included the Sass Compiler
 * Updated the Less compiler class

#### 1.7.0

 * Compilation compatible with LESS 1.7
 * Fix sourcemap generation when parser caching used
 * Additional less.inc.php functionality
 * Assetic compatibility
 * Fix order of classes in combined file

#### 1.6.3

 * Added fixes and updates from less.js 1.6.3
 * Performance enhancements
 * Improved Windows compatibility
 * Additional lessc.inc.php functionality for users transitioning from leafo/lessphp

#### 1.6.1

 * Less compilation compatible with less css 1.6.1

#### 1.5.1.2

 * Initial Release

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **3,000+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **4.1.42**
 *  语言
 * [English (US)](https://wordpress.org/plugins/lessphp/)
 * 标签
 * [compiler](https://cn.wordpress.org/plugins/tags/compiler/)[less](https://cn.wordpress.org/plugins/tags/less/)
 *  [高级视图](https://cn.wordpress.org/plugins/lessphp/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/lessphp/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/lessphp/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/lessphp/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/lessphp/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/lessphp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lessphp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/lessphp/reviews/)

## 贡献者

 *   [ Ari Stathopoulos ](https://profiles.wordpress.org/aristath/)
 *   [ Dimitris Kalliris ](https://profiles.wordpress.org/fovoc/)
 *   [ Unyson ](https://profiles.wordpress.org/unyson/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/lessphp/)