PHPackages                             ideatic/css-optimizer - 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. ideatic/css-optimizer

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

ideatic/css-optimizer
=====================

Optimize, minify and add vendor prefixes for your CSS

v1.3(1y ago)63.3k11MITPHP

Since Apr 5Pushed 1y ago3 watchersCompare

[ Source](https://github.com/ideatic/css-optimizer)[ Packagist](https://packagist.org/packages/ideatic/css-optimizer)[ RSS](/packages/ideatic-css-optimizer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (1)

css-optimizer
=============

[](#css-optimizer)

Optimize, minify and add vendor prefixes for your CSS

Usage
-----

[](#usage)

See the examples to try and learn how to use it

css\_cleaner
------------

[](#css_cleaner)

css\_cleaner is a tool included with css\_optmizer whose objective is remove unused CSS selectors.

The difference between this and other unused selectors removal tools is that css\_cleaner analizes ALL project files (templates, source code, javascript, etc.), extracting all names found on them, and removing from the CSS the names not found. It's like using a bazooka to kill a fly, but it really works :D

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance49

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~1106 days

Total

4

Last Release

377d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/260931d3c35a4ad227b44452f05ce6f4993ed604f3748064e14eac8764a8d8a8?d=identicon)[ideatic](/maintainers/ideatic)

---

Top Contributors

[![javiermarinros](https://avatars.githubusercontent.com/u/840412?v=4)](https://github.com/javiermarinros "javiermarinros (20 commits)")[![ngmy](https://avatars.githubusercontent.com/u/864041?v=4)](https://github.com/ngmy "ngmy (1 commits)")

---

Tags

css

### Embed Badge

![Health badge](/badges/ideatic-css-optimizer/health.svg)

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

###  Alternatives

[components/flag-icon-css

A curated collection of all country flags in SVG — plus the CSS for easier integration.

12.0k1.6M23](/packages/components-flag-icon-css)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)[scssphp/scssphp

scssphp is a compiler for SCSS written in PHP.

62827.7M220](/packages/scssphp-scssphp)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

5003.6M18](/packages/mexitek-phpcolors)[wikimedia/less.php

PHP port of the LESS processor

12327.4M77](/packages/wikimedia-lessphp)[cerdic/css-tidy

CSSTidy is a CSS minifier

2092.0M6](/packages/cerdic-css-tidy)

PHPackages © 2026

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