leafo/lessphp
LESS compiler written in PHP observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6252
- days_rel: n/a
- days_push: 840
- n_releases_24m: 0
Adoption not part of the score
2179 stars · 509 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
lessphp is a compiler for the LESS CSS preprocessor language written entirely in PHP, distributed as a single includable class with an optional command-line interface. It is designed to be compatible with less.js and serve as a drop-in replacement for compiling LESS to CSS in PHP projects.
Use cases
- compile LESS to CSS in a PHP project
- compile stylesheets from the command line
- auto-recompile LESS files only when they change
- set LESS variables from PHP at compile time
- register custom LESS functions in PHP
- compress CSS output for production
When to choose
- your project is in PHP and you need server-side LESS compilation without Node.js
- you want a single-file dependency with no build tooling
- you need a CLI compiler with watch mode on a PHP-only stack
When to avoid
- you need the latest LESS language features, since less.js is the reference implementation
- your build pipeline already uses Node.js tooling like less.js or webpack
- you need actively developed features or fast bug turnaround
Facets
library · maturity maintenance
compiler cli developer-tools web-development frontend developer-tools php cli less css-preprocessor stylesheet-compiler single-file-library web-server
4 sources
- readme: https://github.com/leafo/lessphp · fetched 2026-08-28 · 6a9b7256f3d7
- homepage: http://leafo.net/lessphp · fetched 2026-08-29 · 2aec6898dd38
- site_page: https://leafo.net/lessphp/docs · fetched 2026-08-29 · 422bfe7d1712
- site_page: https://leafo.net/lessphp/changelog.html · fetched 2026-08-29 · c4cbcfe3ca23
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| leafo/lessphp | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem