PHPackages                             read0more/post-css-module - 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. read0more/post-css-module

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

read0more/post-css-module
=========================

Get postCSS module classname from json

0.1.0(4y ago)04MITPHP

Since Jan 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/read0more/postcss-module-php)[ Packagist](https://packagist.org/packages/read0more/post-css-module)[ RSS](/packages/read0more-post-css-module/feed)WikiDiscussions master Synced 1mo ago

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

PostCSS-module-php
==================

[](#postcss-module-php)

Get CSS classname transformed by postCSS-module using the json file that comes out when transforming postCSS-module.

```
use PostCSSModule\Transformer;

$cssPath = '/css';
$jsonPathFromPostCSSModule = '/json';
$transformer = new Transformer($cssPath, $jsonPathFromPostCSSModule);

// css filename in $cssPath
$cssName = 'button';
$transformer->getTransformedCssInfo($cssName);

// You can get transformed class name.
// e.g. $transformedClassNames['button'] you can get transformed class name "button"
$transformedClassNames = $transformedCssInfo->classNames;

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1573d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f9f8c1ae8e804dc3c5f4be853e23996928a92b66f24133f3fd9e042c8b23cda?d=identicon)[read0more](/maintainers/read0more)

---

Top Contributors

[![read0more](https://avatars.githubusercontent.com/u/21351836?v=4)](https://github.com/read0more "read0more (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/read0more-post-css-module/health.svg)

```
[![Health](https://phpackages.com/badges/read0more-post-css-module/health.svg)](https://phpackages.com/packages/read0more-post-css-module)
```

###  Alternatives

[typo3/cms-introduction

The Official TYPO3 Introduction Package

1880.6k5](/packages/typo3-cms-introduction)[blackbird/hyva-splide-js

An implementation of SplideJS library in Hyvä Theme for Magento 2

2016.7k](/packages/blackbird-hyva-splide-js)

PHPackages © 2026

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