PHPackages                             samsonframework/html2less - 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. samsonframework/html2less

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

samsonframework/html2less
=========================

SamsonFramework LESS tree generator from HTML tree package

1.0.0(10y ago)016Open Software License (OSL) v 3.0PHP

Since Apr 17Pushed 10y ago2 watchersCompare

[ Source](https://github.com/samsonframework/html2less)[ Packagist](https://packagist.org/packages/samsonframework/html2less)[ Docs](http://samsonos.com/)[ RSS](/packages/samsonframework-html2less/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

SamsonFramework HTML to LESS generation package
===============================================

[](#samsonframework-html-to-less-generation-package)

SamsonFramework LESS tree generation from HTML tag tree generation implementation

[![Latest Stable Version](https://camo.githubusercontent.com/580785f5f3c508f0268ece5c0f61335b2dffd49f4a73199a4a4a40c28cf26d3f/68747470733a2f2f706f7365722e707567782e6f72672f73616d736f6e6672616d65776f726b2f68746d6c326c6573732f762f737461626c652e737667)](https://packagist.org/packages/samsonframework/html2less)[![Build Status](https://camo.githubusercontent.com/f0ccbff2cbbd102e8b014a4e6e9094ebe23e12c4e844750c37d48123024b6b57/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616d736f6e6672616d65776f726b2f68746d6c326c6573732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/samsonframework/html2less/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/1a302082870c9c675de5bdc88ca5ae13e4b728b56963768f71ada1a56284592f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616d736f6e6672616d65776f726b2f68746d6c326c6573732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/samsonframework/html2less/?branch=master)[![Code Climate](https://camo.githubusercontent.com/da96ad5a16cf2006c7abac98d2f0ea3e94c7490eac48fd741246740b977f36da/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f73616d736f6e6672616d65776f726b2f68746d6c326c6573732f6261646765732f6770612e737667)](https://codeclimate.com/github/samsonframework/html2less)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/123b8c5168bd39a26535e64c141618ce31075aaac7437921e97024002ef31d2c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616d736f6e6672616d65776f726b2f68746d6c326c6573732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/samsonframework/html2less/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/4615579853518e74fca2be745a87e25c361cf1d83f8b3ece3256e0a32c4d87af/68747470733a2f2f706f7365722e707567782e6f72672f73616d736f6e6672616d65776f726b2f68746d6c326c6573732f646f776e6c6f6164732e737667)](https://packagist.org/packages/samsonframework/html2less)[![Stories in Ready](https://camo.githubusercontent.com/80862439f2c47dfb0cc0a9711031c5646a9b68795962d51b48189a8642de764a/68747470733a2f2f62616467652e776166666c652e696f2f73616d736f6e6672616d65776f726b2f68746d6c326c6573732e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/samsonframework/html2less)

\##Documentation Follow official documentation.

\##Installation You can install this package through Composer: `composer require samsonframework/html2less`The packages adheres to the SemVer specification, and there will be full backward compatibility between minor versions.

\##Testing `$ vendor/bin/phpunit`

\##Contributing Feel free to fork and create pull requests at any time.

\##Security If you discover any security related issues, please use this repository issue tracker.

\##License Open Software License ("OSL") v 3.0. Please see License File for more information.

[SamsonOS](http://samsonos.com)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3677d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0be8756efdc8f599b8fe9261bed31570d0f140a3b921f0f891877a9133ad654c?d=identicon)[samsonos](/maintainers/samsonos)

---

Top Contributors

[![vitalyiegorov](https://avatars.githubusercontent.com/u/586558?v=4)](https://github.com/vitalyiegorov "vitalyiegorov (30 commits)")

---

Tags

htmllessgenerationless tree

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/samsonframework-html2less/health.svg)

```
[![Health](https://phpackages.com/badges/samsonframework-html2less/health.svg)](https://phpackages.com/packages/samsonframework-html2less)
```

###  Alternatives

[scssphp/scssphp

scssphp is a compiler for SCSS written in PHP.

62827.7M220](/packages/scssphp-scssphp)[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)[okipa/laravel-table

Generate tables from Eloquent models.

56752.8k](/packages/okipa-laravel-table)[wikimedia/less.php

PHP port of the LESS processor

12327.4M77](/packages/wikimedia-lessphp)[okipa/laravel-form-components

Ready-to-use and customizable form components.

198.0k1](/packages/okipa-laravel-form-components)[dmamontov/favicon

Class generation favicon for browsers and devices Android, Apple, Windows and display of html code. It supports a large number of settings such as margins, color, compression, three different methods of crop and screen orientation.

523.7k](/packages/dmamontov-favicon)

PHPackages © 2026

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