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

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

jelix/minify-module
===================

module providing a Minify features to a Jelix application.

v1.7.4(6y ago)03.6k[1 issues](https://github.com/jelix/minify-module/issues)LGPL-2.1PHP

Since May 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jelix/minify-module)[ Packagist](https://packagist.org/packages/jelix/minify-module)[ Docs](http://jelix.org)[ RSS](/packages/jelix-minify-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

This is a module for Jelix, providing Minify features for HTML response objects.

[Minify](http://code.google.com/p/minify/) is a library which allow to concatenate and minify CSS and JS files. It improves performance during the load of the page. This module provides plugins to integrate it into a Jelix application.

This module is for Jelix 1.7.x and higher. See the jelix/jelix repository to see its history before Jelix 1.7.

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

[](#installation)

Install it by hands like any other Jelix modules, or use Composer if you installed Jelix 1.7+ with Composer.

In your project:

```
composer require "jelix/minify-module"

```

Launch the configurator for your application to enable and configure the module

```
php yourapp/dev.php module:configure jminify
```

Then run the installer

```
php yourapp/install/installer.php

```

You can use the module.

Configuring the module
----------------------

[](#configuring-the-module)

In the configuration file of the application, after the installation you should have these parameters in the `jResponseHtml` section:

```
[jResponseHtml]
plugins = minify

;concatenate and minify CSS and/or JS files :
minifyCSS = off # [on|off] : concatenate/minify CSS files
minifyJS = off # [on|off] : concatenate/minify JS files

; list of filenames (no path) which shouldn't be minified - coma separated :
minifyExcludeCSS = "file1.css,file2.css"
minifyExcludeJS = "jelix/wymeditor/jquery.wymeditor.js"

; bootstrap file for Minify. indicate a relative path to the basePath.
minifyEntryPoint = minify.php
```

With `minifyCSS` and `minifyJS` you activate the "minification". You can indicate files to **NOT** minify in `minifyExcludeCSS` and `minifyExcludeJS`. Keep the file name `jelix/wymeditor/jquery.wymeditor.js` (which is bundled into Jelix) in `minifyExcludeJS`. Wymeditor doesn't like to be concatenated with other files.

Indicated path should be

- relative to the base path of the application (without a leading /)
- or relative to the domain name (with a leading /)

Don't indicate full URL (with `http://`...), they are automatically excluded.

Configuring Minify
------------------

[](#configuring-minify)

The module install a copy a script `minify.php` in your `www/` directory. If you want to choose an other name for this script, indicate its name into the option `minifyEntryPoint`.

The module installer create also `minifyConfig.php` and `minifyGroupsConfig.php`into the `app/system` directory of your application. These are files to set Minify native options. Read the documentation of Minify to know options.

unit tests
----------

[](#unit-tests)

Unit tests are in Testapp, in the jelix/jelix repository.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~391 days

Total

5

Last Release

2449d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae8142be36568660282368ce7c1eec904ecbc515ab5b58c759a487f3a6f1d114?d=identicon)[laurentj](/maintainers/laurentj)

---

Top Contributors

[![laurentj](https://avatars.githubusercontent.com/u/336034?v=4)](https://github.com/laurentj "laurentj (17 commits)")

---

Tags

cssJSminifyconcatenation

### Embed Badge

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

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

###  Alternatives

[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)[stolz/assets

An ultra-simple-to-use assets management library

296519.2k8](/packages/stolz-assets)[jalle19/php-yui-compressor

A modern PHP wrapper for the YUI compressor

17972.2k3](/packages/jalle19-php-yui-compressor)[sensiolabs/minify-bundle

Assets Minifier (CSS, JS) for Symfony &amp; Minify integration in Asset Mapper

5694.9k1](/packages/sensiolabs-minify-bundle)[fisharebest/laravel-assets

Asset management for Laravel

208.1k](/packages/fisharebest-laravel-assets)

PHPackages © 2026

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