PHPackages                             mishal/iless-plugin-autoprefix - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. mishal/iless-plugin-autoprefix

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

mishal/iless-plugin-autoprefix
==============================

ILess plugin for autoprefixing CSS

1.1.0(9y ago)0320MITPHPPHP ^5.5 | ^7.0

Since Sep 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mishal/iless-plugin-autoprefix)[ Packagist](https://packagist.org/packages/mishal/iless-plugin-autoprefix)[ Docs](http://github.com/mishal/iless-plugin-autoprefix)[ RSS](/packages/mishal-iless-plugin-autoprefix/feed)WikiDiscussions master Synced 1mo ago

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

ILess Plugin - Autoprefix
=========================

[](#iless-plugin---autoprefix)

Autoprefixes the generated CSS using PostCSS autoprefixer plugin.

Build Status
------------

[](#build-status)

[![Build Status](https://camo.githubusercontent.com/420d29a04b498833c95ccf9b6e9068a0e63f0c74951dd98fa78fd3c176b5e80f/68747470733a2f2f7472617669732d63692e6f72672f6d697368616c2f696c6573732d706c7567696e2d6175746f7072656669782e737667)](https://travis-ci.org/mishal/iless-plugin-autoprefix)

Requirements
------------

[](#requirements)

To use this plugin you need `node.js > 0.12` installed on the machine.

Installation
------------

[](#installation)

Install using composer:

```
$ composer require mishal/iless-plugin-autoprefix

```

Install requirements

```
$ npm install postcss-cli autoprefixer

```

See `package.json` for required versions.

Programmatic Usage
------------------

[](#programmatic-usage)

```
use ILess\Parser;
use ILess\Plugin\Autoprefix\AutoprefixPlugin;

$parser = new Parser();
// register the plugin
$parser->getPluginManager()->addPlugin(new AutoprefixPlugin([
    // see https://github.com/ai/browserslist
    'browsers' => ['last 2 versions']
]));

$parser->parseFile('/example.less');
$css = $parser->getCSS();

```

### Less Code – Example.less

[](#less-code--exampleless)

```
a {
  display: flex;
}

```

### Generated CSS

[](#generated-css)

```
a {
  display: -ms-flexbox;
  display: flex;
}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Every ~102 days

Total

4

Last Release

3591d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/007795344b01ea3284290841de1c692cb1db10e50221621c074fef1b89093e26?d=identicon)[mishal](/maintainers/mishal)

---

Top Contributors

[![mishal](https://avatars.githubusercontent.com/u/24276?v=4)](https://github.com/mishal "mishal (15 commits)")

---

Tags

pluginparsercsslessless.jslesscsscompilerautoprefix

### Embed Badge

![Health badge](/badges/mishal-iless-plugin-autoprefix/health.svg)

```
[![Health](https://phpackages.com/badges/mishal-iless-plugin-autoprefix/health.svg)](https://phpackages.com/packages/mishal-iless-plugin-autoprefix)
```

###  Alternatives

[mishal/iless

Less.js port to PHP

4737.0k3](/packages/mishal-iless)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[wikimedia/less.php

PHP port of the LESS processor

12327.4M77](/packages/wikimedia-lessphp)[scotteh/php-dom-wrapper

Simple DOM wrapper to select nodes using either CSS or XPath expressions and manipulate results quickly and easily.

1471.9M10](/packages/scotteh-php-dom-wrapper)[hexydec/htmldoc

A token based HTML document parser and minifier. Minify HTML documents including inline CSS, Javascript, and SVG's on the fly. Extract document text, attributes, and fragments. Full test suite.

2610.3k3](/packages/hexydec-htmldoc)

PHPackages © 2026

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