# mrclay/minify

Combines. minifies, and serves CSS or Javascript files

Repository: https://github.com/mrclay/minify
Canonical: https://ross.abutalabs.com/products/mrclay-minify
Language: PHP
License: BSD-3-Clause
License Family: permissive
Last push: 2026-02-14T12:17:34+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 67, release rhythm 38, longevity 100
- inputs: {"age_days": 5548, "days_push": 200, "days_rel": 200, "gap_med": 376, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2994, forks 460 (observed 2026-08-28T04:07:36.488124+00:00)

## What it is
Minify is a PHP-based HTTP server that combines, minifies, and serves CSS and JavaScript assets with appropriate caching headers like conditional GET and long Expires. It also rewrites relative URLs in CSS and can serve static files directly from the filesystem for better performance.

## Use cases
- combine and minify css and javascript files on a php site
- reduce http requests for js and css assets
- serve minified assets with long expires caching headers
- rewrite relative urls in combined css files
- serve static js and css files efficiently from php

## When to choose
- you maintain a legacy php application that already uses Minify
- you need on-the-fly asset combining and minification in a php environment without a build step

## When to avoid
- you are starting a new project - the authors no longer recommend it and it may break on modern JS/CSS syntax
- you can use a build-time bundler or minifier instead
- you run a very high-traffic site where PHP CGI overhead would make it slower than your web server

## Facets
- artifact type: library
- maturity: maintenance
- function: http-server, web-framework, compression, caching
- domain: web-development, frontend, performance
- platform: php, self-hosted
- tags: css-minification, javascript-minification, asset-pipeline, http-headers, unmaintained, web-server

## Member repositories
- mrclay/minify (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:36.488124+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:30:51.137550+00:00, confidence not recorded.
  - readme: https://github.com/mrclay/minify (fetched 2026-08-28T04:07:36.488124+00:00, sha 359b47917c7f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
