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

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

kohana-modules/minify
=====================

Minify module for Kohana 3.x

2.1.7(12y ago)516912[1 issues](https://github.com/pocesar/minify-kohana/issues)PHPPHP &gt;=5.2

Since Apr 5Pushed 10y ago5 watchersCompare

[ Source](https://github.com/pocesar/minify-kohana)[ Packagist](https://packagist.org/packages/kohana-modules/minify)[ RSS](/packages/kohana-modules-minify/feed)WikiDiscussions master Synced 3d ago

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

For Kohana 3.2, use the 3.2 branch, the only thing that changes is the case on the filenames

It's a Minify module based on the best minifier for PHP imho &gt; Extract the contents to 'modules' folder, enable it in the bootstrap:

```
  Kohana::modules(array(
    'minify' => MODPATH.'minify', // Minify
  ));
```

and the only thing you need to do actually, is to create a subfolder on 'application/cache' called minify, and you're ready to go (otherwise you'll get problems with the file cache). Call it in your HTML files like:

```

```

#### Don't forget to copy the file `modules/minify/config/minify.php` to your applications folder in `application/config/minify.php`

[](#dont-forget-to-copy-the-file-modulesminifyconfigminifyphp-to-your-applications-folder-in-applicationconfigminifyphp)

##### Don't make modifications inside the modules folder

[](#dont-make-modifications-inside-the-modules-folder)

It's already configured with a route called minify, that maps to '/min', and if you don't want to output what is your js or css folder, you can use groups, by specifying it in your `/application/config/minify.php` file:

### in PHP:

[](#in-php)

```
  return array(
    'groupsConfig' => array(
      'css' => array('//css/file1.css', '//css/file2.css', '//css/file3.css'),
      'js' => array('//js/jquery.js', '//js/modernizr.js', '//js/plugin/orbit.js')
    )
  );
```

### in HTML:

[](#in-html)

```

```

### You may call groups like:

[](#you-may-call-groups-like)

```

```

### Kohana style:

[](#kohana-style)

```

```

### Debugging

[](#debugging)

Append `?debug=1` to your `min/` URL, it will show you what's going on in your file.

Have fun!

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

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 ~60 days

Total

3

Last Release

4668d ago

Major Versions

0.8 → 2.1.72013-08-03

2.1.7 → 3.2.x-dev2013-08-03

### Community

Maintainers

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

---

Top Contributors

[![pocesar](https://avatars.githubusercontent.com/u/461084?v=4)](https://github.com/pocesar "pocesar (9 commits)")

---

Tags

javascriptcssJSkohanaminifystylesheet

### Embed Badge

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

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

###  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)[tholu/php-packer

A PHP version of Packer, JavaScript obfuscation library originally created by Dean Edwards

137441.2k5](/packages/tholu-php-packer)[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)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.3k](/packages/trentrichardson-cakephp-shrink)

PHPackages © 2026

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