PHPackages                             wapplersystems/ws\_less - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wapplersystems/ws\_less

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

wapplersystems/ws\_less
=======================

LESS compiler for TYPO3. Compiles LESS files to CSS files.

13.0.0(10mo ago)76.2k↓50%24[3 issues](https://github.com/WapplerSystems/ws_less/issues)[5 PRs](https://github.com/WapplerSystems/ws_less/pulls)GPL-2.0+PHP

Since Feb 28Pushed 10mo ago3 watchersCompare

[ Source](https://github.com/WapplerSystems/ws_less)[ Packagist](https://packagist.org/packages/wapplersystems/ws_less)[ RSS](/packages/wapplersystems-ws-less/feed)WikiDiscussions release/v13 Synced 1mo ago

READMEChangelogDependencies (2)Versions (15)Used By (0)

Ext: ws\_less
=============

[](#ext-ws_less)

[![](https://github.com/joppnet/ws_less/raw/master/ext_icon.png)](https://github.com/joppnet/ws_less/blob/master/ext_icon.png)

License: [GNU GPL, Version 2](https://www.gnu.org/licenses/gpl-2.0.html)

Repository: [https://github.com/svewap/ws\_less](https://github.com/svewap/ws_less)

Please report bugs here: [https://github.com/svewap/ws\_less/issues](https://github.com/svewap/ws_less/issues)

TYPO3 version: &gt;8.7

About
-----

[](#about)

`ws_less` is a TYPO3 LESS compiler for compiling LESS files into CSS files. This extensions uses the `LessPHP` compiler.

The extension comes with a cache function. That means the LESS files will be compiled only if necessary.

You can pass values via TypoScript to the LESS files.

Usage
-----

[](#usage)

To include your LESS file, you can use the `page.includeCSS` TypoScript command as usual.

```
page.includeCSS {
  bootstrap = fileadmin/bootstrap/less/bootstrap.less
  bootstrap.outputdir = fileadmin/bootstrap/css/

  responsive = fileadmin/bootstrap/less/responsive.less
  responsive.outputdir = fileadmin/bootstrap/css/

  rte = fileadmin/bootstrap/less/rte.less
  rte.outputdir = fileadmin/rte/css/
  rte.doNotHash = 1 # Disable file name hashing when using LESS variables via TypoScript
}

```

You can also leave off the `outputdir` parameter. The extension will be writing the CSS files into the `typo3temp/ws_less` directory.

### Variables

[](#variables)

You can set LESS variables in TypoScript in template setup part of your template:

```
plugin.tx_wsless.variables {
  var1 = #000
  var2 = #666
}

```

#### Disable file name hashing

[](#disable-file-name-hashing)

For including the generated CSS files in your `ckeditor` YAML config file it is recommended to use the `doNotHash = 1` parameter. When using LESS variables the generated file will be `fileadmin/rte/css/rte.css` instead of `fileadmin/rte/css/rte_468e20047a2589981edd540b083f26c4.css` so you can easily include it in your RTE YAML config using `"contentsCss: "fileadmin/rte/css/rte.css"`

### Development Notice

[](#development-notice)

For developing it is suggested to force-render the template (switching off the TYPO3 template cache) using `admPanel.override.tsdebug.forceTemplateParsing = 1` in your backend user's UserTS config. The LESS files will be compiled on each page load while being logged in as a backend user so you can see the result of your changes without repeatedly clearing the TYPO3 FE cache.

Credits
-------

[](#credits)

- Sven Wappler ([TYPO3 Agentur Aachen](https://wappler.systems))
- Jozef Spisiak ([www.pixelant.net](http://www.pixelant.net)) for optimizing the extension

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance45

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 58.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~244 days

Recently: every ~423 days

Total

9

Last Release

314d ago

Major Versions

v1.5.2 → v9.0.02020-11-15

v8.0.0 → 11.0.02022-08-31

11.0.0 → 12.0.02023-10-22

12.0.1 → 13.0.02025-07-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/a944bb90af783b13d74049f2d8adcff598f4e7cb0aad9d7040a6af0bb8c23984?d=identicon)[svewap](/maintainers/svewap)

---

Top Contributors

[![oliverschloebe](https://avatars.githubusercontent.com/u/82846?v=4)](https://github.com/oliverschloebe "oliverschloebe (10 commits)")[![svewap](https://avatars.githubusercontent.com/u/1734738?v=4)](https://github.com/svewap "svewap (7 commits)")

---

Tags

typo3typo3-cms-extensiontypo3-extension

### Embed Badge

![Health badge](/badges/wapplersystems-ws-less/health.svg)

```
[![Health](https://phpackages.com/badges/wapplersystems-ws-less/health.svg)](https://phpackages.com/packages/wapplersystems-ws-less)
```

###  Alternatives

[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1481.0k](/packages/eliashaeussler-typo3-form-consent)[b13/assetcollector

Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10118.4k](/packages/b13-assetcollector)[mfd/ai-filemetadata

Automatically generates FAL metadata for files by means of public LLMs

1142.1k](/packages/mfd-ai-filemetadata)[mautic/mautic-typo3

Add-on TYPO3 extension that enhances the "EXT:marketing\_automation" TYPO3 extension by connecting it to the Mautic Marketing Automation platform: Determine "Persona" from Mautic segments. Also provides additional services e.g. language synchronisation between Mautic and TYPO3.

236.3k](/packages/mautic-mautic-typo3)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
