PHPackages                             brightlocal/minify - 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. brightlocal/minify

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

brightlocal/minify
==================

Minify is a PHP5 app that helps you follow several rules for client-side performance. It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers

2.2.0(12y ago)070.5kBSD-3-ClausePHPPHP &gt;=5.2.1

Since Jul 20Pushed 11y ago27 watchersCompare

[ Source](https://github.com/BrightLocal/minify)[ Packagist](https://packagist.org/packages/brightlocal/minify)[ Docs](http://code.google.com/p/minify/)[ RSS](/packages/brightlocal-minify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

```
WELCOME TO MINIFY!

Minify is an HTTP content server. It compresses sources of content
(usually files), combines the result and serves it with appropriate
HTTP headers. These headers can allow clients to perform conditional
GETs (serving content only when clients do not have a valid cache)
and tell clients to cache the file for a period of time.
More info: http://code.google.com/p/minify/

WORDPRESS USER?

These WP plugins integrate Minify into WordPress's style and script hooks to
get you set up faster.
  http://wordpress.org/extend/plugins/bwp-minify/
  http://wordpress.org/extend/plugins/w3-total-cache/

INSTALLATION

Place the /min/ directory as a child of your DOCUMENT_ROOT
directory: i.e. you will have: /home/example/www/min

You can see verify that it is working by visiting these two URLs:
  http://example.org/min/?f=min/quick-test.js
  http://example.org/min/?f=min/quick-test.css

If your server supports mod_rewrite, this URL should also work:
  http://example.org/min/f=min/quick-test.js

CONFIGURATION & USAGE

See the MIN.txt file and http://code.google.com/p/minify/wiki/UserGuide

Minify also comes with a URI Builder application that can help you write URLs
for use with Minify or configure groups of files. See here for details:
  http://code.google.com/p/minify/wiki/BuilderApp

The cookbook also provides some more advanced options for minification:
  http://code.google.com/p/minify/wiki/CookBook

UPGRADING

See UPGRADING.txt for instructions.

UNIT TESTING:

1. Place the /min_unit_tests/ directory as a child of your DOCUMENT_ROOT
directory: i.e. you will have: /home/example/www/min_unit_tests

2. To run unit tests, access: http://example.org/min_unit_tests/test_all.php

(If you wish, the other test_*.php files can be run to test individual
components with more verbose output.)

3. Remove /min_unit_tests/ from your DOCUMENT_ROOT when you are done.

FILE ENCODINGS

Minify *should* work fine with files encoded in UTF-8 or other 8-bit
encodings like ISO 8859/Windows-1252. By default Minify appends
";charset=utf-8" to the Content-Type headers it sends.

Leading UTF-8 BOMs are stripped from all sources to prevent
duplication in output files, and files are converted to Unix newlines.

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~149 days

Total

4

Last Release

4235d ago

Major Versions

2.2.0 → 3.0.x-dev2014-10-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/39041a004112704519609fa76fd893de0524d0adcacbe12a295216ab18807ac1?d=identicon)[dmitry-vovk](/maintainers/dmitry-vovk)

---

Top Contributors

[![mrclay](https://avatars.githubusercontent.com/u/170687?v=4)](https://github.com/mrclay "mrclay (319 commits)")[![glensc](https://avatars.githubusercontent.com/u/199095?v=4)](https://github.com/glensc "glensc (24 commits)")[![rgrove](https://avatars.githubusercontent.com/u/1465?v=4)](https://github.com/rgrove "rgrove (19 commits)")[![tubalmartin](https://avatars.githubusercontent.com/u/522838?v=4)](https://github.com/tubalmartin "tubalmartin (4 commits)")[![joec4i](https://avatars.githubusercontent.com/u/357672?v=4)](https://github.com/joec4i "joec4i (3 commits)")[![joscha](https://avatars.githubusercontent.com/u/188038?v=4)](https://github.com/joscha "joscha (3 commits)")[![acidvertigo](https://avatars.githubusercontent.com/u/809397?v=4)](https://github.com/acidvertigo "acidvertigo (2 commits)")[![meven](https://avatars.githubusercontent.com/u/620941?v=4)](https://github.com/meven "meven (2 commits)")[![robations](https://avatars.githubusercontent.com/u/205320?v=4)](https://github.com/robations "robations (2 commits)")[![SimonSimCity](https://avatars.githubusercontent.com/u/392589?v=4)](https://github.com/SimonSimCity "SimonSimCity (2 commits)")[![fisharebest](https://avatars.githubusercontent.com/u/2306088?v=4)](https://github.com/fisharebest "fisharebest (1 commits)")[![KendallHopkins](https://avatars.githubusercontent.com/u/72923?v=4)](https://github.com/KendallHopkins "KendallHopkins (1 commits)")[![jrchamp](https://avatars.githubusercontent.com/u/625298?v=4)](https://github.com/jrchamp "jrchamp (1 commits)")

### Embed Badge

![Health badge](/badges/brightlocal-minify/health.svg)

```
[![Health](https://phpackages.com/badges/brightlocal-minify/health.svg)](https://phpackages.com/packages/brightlocal-minify)
```

###  Alternatives

[ericpoe/haystack

Forget Haystack vs Needle order, the object IS the Haystack. Haystack is a library that allows for pipelining and immutable structures.

3729.4k](/packages/ericpoe-haystack)[rotexsoft/versatile-collections

A collection package that can be extended to implement things such as a Dependency Injection Container, RecordSet objects for housing database records, a bag of http cookies, or technically any collection of items that can be looped over and whose items can each be accessed using array-access syntax or object property syntax.

186.0k1](/packages/rotexsoft-versatile-collections)

PHPackages © 2026

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