matthiasmullie/minify
CSS & 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. observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 28
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 13
- age_days: 5076
- days_rel: 434
- days_push: 434
- n_releases_24m: 2
Adoption not part of the score
2042 stars · 331 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library that minifies CSS and JavaScript by removing whitespace, stripping comments, combining files, and shortening common code patterns. It can be used programmatically via a simple API or from the command line.
Use cases
- minify css and javascript files in php
- combine multiple css files into one minified file
- reduce page load size by compressing js assets
- inline and rewrite @import statements in css
- optimize css colors and units for smaller output
When to choose
- you're building a PHP application and want asset minification without external tools like Node
- you need to concatenate and minify CSS/JS at build or runtime in PHP
- you want a well-tested, MIT-licensed minifier with a simple API
When to avoid
- you need advanced JS minification like tree-shaking or ES6+ transforms (use Terser/esbuild)
- your stack is not PHP-based
- you need minification of other asset types like HTML or SVG
Facets
library · maturity active
compression build-tool web-development frontend developer-tools php cli css-minifier js-minifier asset-optimization php-library
2 sources
- readme: https://github.com/matthiasmullie/minify · fetched 2026-08-28 · 06d093f97eef
- homepage: https://matthiasmullie.github.io/minify/ · fetched 2026-08-29 · ced6014a87a0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| matthiasmullie/minify | main | 47 |
For agents
markdown · JSON · MCP: product_card(name="matthiasmullie/minify")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem