PHPackages                             dc/bundler-cssmin - 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. dc/bundler-cssmin

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

dc/bundler-cssmin
=================

CSSMin support for dc/bundler

012PHP

Since May 24Pushed 10y ago2 watchersCompare

[ Source](https://github.com/digitalcreations/bundler-cssmin)[ Packagist](https://packagist.org/packages/dc/bundler-cssmin)[ RSS](/packages/dc-bundler-cssmin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CSSMin wrapper for dc/bundler
=============================

[](#cssmin-wrapper-for-dcbundler)

Enables you to minify CSS files using dc/bundler.

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

[](#installation)

```
composer require dc/bundler-cssmin

```

or in `composer.json`

```
"require": {
    "dc/bundler-cssmin": "dev-master"
}
```

Setup
-----

[](#setup)

This package depends on `dc/router`, but strongly suggests `dc/ioc`. This is how you register the transformer with the IoC container so it is picked up automatically:

```
\DC\Bundler\CSSMin\CSSMinTransformer::registerWithContainer($container, $filters, $plugins);
```

The `$filters` and `$plugins` variables are optional. They correspond to the [options to `CssMin::Minify()`](https://code.google.com/p/cssmin/).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/592f1016d288aeb80fddba8b7749f5bf91f83305b332e8d8f37db3d19c16b7d3?d=identicon)[vegardlarsen](/maintainers/vegardlarsen)

![](https://www.gravatar.com/avatar/53f38207340517e705d87fb858772629b30fa6f1d40a65668dc5599c099d3413?d=identicon)[francisrath](/maintainers/francisrath)

---

Top Contributors

[![vegardlarsen](https://avatars.githubusercontent.com/u/436508?v=4)](https://github.com/vegardlarsen "vegardlarsen (2 commits)")

### Embed Badge

![Health badge](/badges/dc-bundler-cssmin/health.svg)

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

###  Alternatives

[prugala/symfony-request-dto

Convert Symfony request to DTO object

5645.4k](/packages/prugala-symfony-request-dto)

PHPackages © 2026

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