Registry / utility / leafo-lessphp

leafo-lessphp

JSON →
library0.5.0phppackagistunverified

lessphp is a compiler for LESS written in PHP.

composer require leafo/lessphp
INSTALL
IMPORT
SIG · LEAFO-LESSPHP
L
leafo-lessphp
utilityphpv0.5.0
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.

lessc
use lessc;

Compiles a simple LESS string to CSS.

require 'lessc.inc.php'; $less = new lessc(); $css = $less->compile('@color: #4D926F; #header { color: @color; }'); echo $css;
Debug
Known issues
breakingThis package is no longer actively maintained; consider using scssphp or a modern alternative.
fix
Migrate to scssphp or another maintained LESS compiler.
affects: >=0.5.0
Upgrade
Version history
0.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
leafo-lessphp — pip install leafo-lessphp · libregistry