PHPackages                             postcss/postcss - 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. postcss/postcss

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

postcss/postcss
===============

Unofficial native PHP port of the PostCSS processor

5.2(9y ago)226762[1 issues](https://github.com/mlocati/postcss/issues)MITPHPPHP &gt;=5.5.0

Since Sep 23Pushed 9y ago6 watchersCompare

[ Source](https://github.com/mlocati/postcss)[ Packagist](https://packagist.org/packages/postcss/postcss)[ Docs](https://github.com/mlocati/postcss)[ RSS](/packages/postcss-postcss/feed)WikiDiscussions master Synced yesterday

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

[![Build Status](https://camo.githubusercontent.com/7b613161e90decf47a932faca3bea07efe9e5cb7c9f9e026b877a62687b9b504/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d6c6f636174692f706f73746373732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mlocati/postcss)[![StyleCI](https://camo.githubusercontent.com/65697b3875cd0fdfd51fbb255ecbe5ae3805a17a2321eb85174d9fb1ca11ba86/68747470733a2f2f7374796c6563692e696f2f7265706f732f36393033363538322f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/69036582)

PostCSS for PHP
===============

[](#postcss-for-php)

Please note that this is an ***unofficial*** port of [PostCSS](http://postcss.org/) to PHP.

This repository contains only the core engine, but it's not of any use without plugins.

For a list of currently available plugins, please see the [Wiki](https://github.com/mlocati/postcss/wiki).

Credits
-------

[](#credits)

The code of this project is an almost a bare port of (parts of) these projects:

- [Official PostCSS](https://github.com/postcss/postcss)
- [Mozilla Source Map](https://github.com/mozilla/source-map)
- [Node.js](https://nodejs.org/)
- [Concat with source maps](https://github.com/floridoo/concat-with-sourcemaps)
- [ansi-styles](https://github.com/chalk/ansi-styles)
- [strip-ansi](https://github.com/chalk/strip-ansi)

In the [licenses](https://github.com/mlocati/postcss/tree/master/licenses) directory you'll find the licenses of every project.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

3568d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e9d7ece045fc89575e083ee4852edf31218df403c84f41a0de01863dae982f5?d=identicon)[mlocati](/maintainers/mlocati)

---

Top Contributors

[![mlocati](https://avatars.githubusercontent.com/u/928116?v=4)](https://github.com/mlocati "mlocati (32 commits)")

---

Tags

csssassscsslesslesscsspostcss

### Embed Badge

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

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

###  Alternatives

[scssphp/scssphp

scssphp is a compiler for SCSS written in PHP.

62930.2M303](/packages/scssphp-scssphp)[wikimedia/less.php

PHP port of the LESS processor

12329.5M124](/packages/wikimedia-lessphp)[efficiently/larasset

Larasset is a library for Laravel 5 which manage assets in an easy way.

684.8k](/packages/efficiently-larasset)[panique/laravel-sass

Compiles your Sass .scss files to .css every time you run your app (in development)

71173.1k1](/packages/panique-laravel-sass)[nizsheanez/yii2-asset-converter

Less, Sass, Scss and Phamlp converter for Yii2. No system requires. yii2-composer support, Less autoupdate, customizing of output directory

61170.8k6](/packages/nizsheanez-yii2-asset-converter)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.4k](/packages/trentrichardson-cakephp-shrink)

PHPackages © 2026

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