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

ActiveMagento-module[Utility &amp; Helpers](/categories/utility)

wbl/magento-minify
==================

Simply enables js and css minification.

602.2k↓28.6%28[2 issues](https://github.com/azurams/Magento-Minify/issues)[3 PRs](https://github.com/azurams/Magento-Minify/pulls)JavaScript

Since Jun 26Pushed 7y ago6 watchersCompare

[ Source](https://github.com/azurams/Magento-Minify)[ Packagist](https://packagist.org/packages/wbl/magento-minify)[ RSS](/packages/wbl-magento-minify/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Magento js file minified](https://camo.githubusercontent.com/463858915580ef21fdfd41d3b18b766295f62f0037cf2cf87acde6f97ff73986/687474703a2f2f692e696d6775722e636f6d2f77394e64472e706e67)](https://camo.githubusercontent.com/463858915580ef21fdfd41d3b18b766295f62f0037cf2cf87acde6f97ff73986/687474703a2f2f692e696d6775722e636f6d2f77394e64472e706e67)

Introduction
------------

[](#introduction)

WBL\_Minify extension enables minification of magento css merged files and/or javascript merged files. You can choose to use YUICompressor (included). In that case, be sure to have Java installed on your server and MAGE\_ROOT\_DIR/lib/YUICompressor.(-version-).jar executable. Or you may prefer PHP Minifying classes (included).

PHP minifying libraries (Minify\_Css\_Compressor , JSMin) are taken from Stephen Clay's Minify project -

Facts
-----

[](#facts)

Total Sizefrontend jsfrontend cssbackend jsbackend cssno minification359.6 KB105.9 KB627.1 KB107.6 KBYUICompressor205.7 KB85.9 KB340.9 KB80.4 KBphp classes255.1 KB86.3 KB413.5 KB81.2 KBBehaviour
---------

[](#behaviour)

This extension simply minifies css and javascript content before merged files are saved as in the normal magento behaviour. No cache proxy server, or anything complicated : the simple genuine js and css magento browser cache behaviour, but with minified files ;)

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

[](#installation)

### Install with [modgit](https://github.com/jreinke/modgit):

[](#install-with-modgit)

```
$ cd /path/to/magento
$ modgit init
$ modgit -e README.md clone magento-minify git://github.com/azurams/Magento-Minify.git
```

### Install with modman:

[](#install-with-modman)

```
$ cd /path/to/magento
$ modman init
$ modman clone WBL_Minify git://github.com/azurams/Magento-Minify.git
```

### Download package manually:

[](#download-package-manually)

- Download latest version [here](https://github.com/azurams/Magento-Minify/archive/master.zip)
- Unzip in Magento root folder
- Clean cache

Log-out then Log-in in magento backend, go to System &gt; Configuration &gt; Developer &gt; Minification Settings. Then flush media/js and media/css files... and that's it !

*NEW* LESS support
------------------

[](#new-less-support)

[LESS: The dynamic stylesheet language.](http://lesscss.org/)

Ability to compile less files with [lessphp](http://leafo.net/lessphp/) and adds the less.js if merging is disabled.

Adding a .less file to your scripts is easy:

```

            skin_cssless/responsive.less

```

*NEW* Grouping files functionality
----------------------------------

[](#new-grouping-files-functionality)

It is advised to disable merging in Magento because the seeming performance benifits aren't as real as they seem. See the excellent Fishpig article: [Why You Shouldn't Merge JavaScript in Magento](http://fishpig.co.uk/blog/why-you-shouldnt-merge-javascript-in-magento.html)

### How does it work?

[](#how-does-it-work)

The js and css files are normally combined to one large file, with this you can group them in relevant groups (the product page gets its own group for example). More examples:

```

            skin_cssless/responsive.lesslocale

            varien/product.jscatalog_product_view

```

License
-------

[](#license)

???

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.9% 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://avatars.githubusercontent.com/u/3285222?v=4)[surfer190](/maintainers/surfer190)[@surfer190](https://github.com/surfer190)

---

Top Contributors

[![paales](https://avatars.githubusercontent.com/u/1244416?v=4)](https://github.com/paales "paales (44 commits)")[![azurams](https://avatars.githubusercontent.com/u/1393043?v=4)](https://github.com/azurams "azurams (20 commits)")[![SchumacherFM](https://avatars.githubusercontent.com/u/372027?v=4)](https://github.com/SchumacherFM "SchumacherFM (7 commits)")[![addiks](https://avatars.githubusercontent.com/u/3450330?v=4)](https://github.com/addiks "addiks (2 commits)")[![jreinke](https://avatars.githubusercontent.com/u/598419?v=4)](https://github.com/jreinke "jreinke (1 commits)")[![ErwinOtten](https://avatars.githubusercontent.com/u/1251986?v=4)](https://github.com/ErwinOtten "ErwinOtten (1 commits)")[![tiarly](https://avatars.githubusercontent.com/u/2394744?v=4)](https://github.com/tiarly "tiarly (1 commits)")

### Embed Badge

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

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

###  Alternatives

[harishdurga/laravel-quiz

Provides Quiz Functionality

1736.7k](/packages/harishdurga-laravel-quiz)[mediawiki/page-forms

Forms for creating and editing wiki pages.

2380.7k2](/packages/mediawiki-page-forms)[boesing/psalm-plugin-stringf

Psalm plugin to work with `sprintf`, `printf`, `sscanf` and `fscanf`.

12199.6k7](/packages/boesing-psalm-plugin-stringf)[bymayo/delete-account

Allows users to delete their own account within Twig templates (Front end).

125.2k](/packages/bymayo-delete-account)

PHPackages © 2026

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