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

1572d 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

[leafo/lessphp

lessphp is a compiler for LESS written in PHP.

2.2k8.2M141](/packages/leafo-lessphp)[chelout/laravel-relationship-events

Missing relationship events for Laravel

5252.3M17](/packages/chelout-laravel-relationship-events)[marcocesarato/php-conventional-changelog

Generate changelogs and release notes from a project's commit messages and metadata and automate versioning with semver.org and conventionalcommits.org

2511.3M109](/packages/marcocesarato-php-conventional-changelog)[larapack/dd

`dd` is a helper method in Laravel. This package will add the `dd` to your application.

1162.5M432](/packages/larapack-dd)[idiosyncratic/editorconfig

PHP implementation of EditorConfig

191.9M1](/packages/idiosyncratic-editorconfig)

PHPackages © 2026

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