Registry / utility / wikimedia-less-php

wikimedia-less-php

JSON →
library5.5.1phppackagistunverified

PHP port of the LESS processor

composer require wikimedia/less.php
INSTALL
IMPORT
SIG · WIKIMEDIA-LESS-PHP
W
wikimedia-less-php
utilityphpv5.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Parser
use Wikimedia\Less\Parser;

Compile LESS to CSS

use Wikimedia\Less\Parser; $parser = new Parser(); $css = $parser->parseString('@color: red; body { color: @color; }')->getCSS();
Debug
Known issues
breakingRequires PHP 7.2 or higher
fix
Upgrade PHP to at least 7.2
affects: >=5.0.0
Upgrade
Version history
5.5.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
wikimedia-less-php — pip install wikimedia-less-php · libregistry