PHPackages                             bitboxde/minifier - 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. bitboxde/minifier

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

bitboxde/minifier
=================

CSS, JS and HTML-Minifier-Plugin for Craft CMS

4.0.0(3y ago)3849[2 issues](https://github.com/bitboxde/minifier/issues)MITPHP

Since Jan 30Pushed 3y ago2 watchersCompare

[ Source](https://github.com/bitboxde/minifier)[ Packagist](https://packagist.org/packages/bitboxde/minifier)[ RSS](/packages/bitboxde-minifier/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (3)Versions (12)Used By (0)

Minifier plugin for Craft CMS 4.x
=================================

[](#minifier-plugin-for-craft-cms-4x)

Minifier for CSS and JavaScript files.

[![Screenshot](resources/img/plugin-logo.png)](resources/img/plugin-logo.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 4.x

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

[](#installation)

### Plugin Store (the easy way)

[](#plugin-store-the-easy-way)

- In the Craft Control Panel, go to Settings -&gt; Plugins
- Search for "Minifier"
- Click the "Install" button

### Composer Command Line (the manual way)

[](#composer-command-line-the-manual-way)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require bitboxde/minifier

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Minifier.

Configuring Minifier
--------------------

[](#configuring-minifier)

> Please check settings before using. Possibly you need to change the paths.

[![Screenshot](resources/img/screenshot-settings.png)](resources/img/screenshot-settings.png)

Documentation
-------------

[](#documentation)

- **[Installation](docs/installation.md)**
- **[Settings](docs/settings.md)** / **[Advanced](docs/settings.md#advanced)**
- **[Register files](docs/register-files.md)** / **[Advanced](docs/register-files.md#advanced)**
- **[Multi-Site usage](docs/multi-site-usage.md)**
- **[Events](docs/events.md)**
- **[Integrate a CSS preprocessor (Sass / Less)](docs/integrate-a-css-preprocessor.md)**

Minifier Roadmap
----------------

[](#minifier-roadmap)

Some things to do, and ideas for potential features:

- External files
- HTML-Minifier (currently beta)

If you have some interesting ideas, please write us!

Brought to you by [bitbox GmbH &amp; Co. KG](https://www.bitbox.de)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 87.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.

###  Release Activity

Cadence

Every ~129 days

Recently: every ~270 days

Total

11

Last Release

1405d ago

Major Versions

1.0.2 → 2.0.02019-02-26

2.0.5 → 3.0.02022-08-18

3.0.0 → 4.0.02022-08-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31650715?v=4)[bitbox GmbH &amp; Co. KG](/maintainers/bitboxde)[@bitboxde](https://github.com/bitboxde)

---

Top Contributors

[![bitboxrk](https://avatars.githubusercontent.com/u/3500012?v=4)](https://github.com/bitboxrk "bitboxrk (29 commits)")[![bitboxfw](https://avatars.githubusercontent.com/u/16148060?v=4)](https://github.com/bitboxfw "bitboxfw (4 commits)")

---

Tags

craft4cssJSminifiercmsCraftcraftcmscraft-pluginseo

### Embed Badge

![Health badge](/badges/bitboxde-minifier/health.svg)

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

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M51](/packages/nystudio107-craft-seomatic)[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k57](/packages/verbb-formie)[doublesecretagency/craft-cpcss

Add custom CSS to your Control Panel.

117459.9k9](/packages/doublesecretagency-craft-cpcss)[verbb/navigation

Create navigation menus for your site.

92698.4k18](/packages/verbb-navigation)[verbb/workflow

Enforce multi-step review processes for creating entries.

138123.0k1](/packages/verbb-workflow)[verbb/vizy

A flexible visual editor field for Craft.

4249.7k](/packages/verbb-vizy)

PHPackages © 2026

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