PHPackages                             frosh/platform-html-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. frosh/platform-html-minify

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

frosh/platform-html-minify
==========================

This plugin delivers minified HTML and minified inline JavaScript to visitors.

2.4.0(1w ago)1179.8k↓24.7%4mitHTMLCI passing

Since Apr 9Pushed 1w ago2 watchersCompare

[ Source](https://github.com/FriendsOfShopware/FroshPlatformHtmlMinify)[ Packagist](https://packagist.org/packages/frosh/platform-html-minify)[ RSS](/packages/frosh-platform-html-minify/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (18)Used By (0)

HTML-Minifer for Shopware 6
===========================

[](#html-minifer-for-shopware-6)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

This plugin delivers minified HTML and minified inline JavaScript to visitors.
In tests this results in up to 50% smaller contents, with enabled compression up to 30%.
You can track the compression in Devtools by viewing the header `X-Html-Compressor`.

Warning
-------

[](#warning)

This extension optimizes the loading sequence of scripts. If you or a plugin inserts custom scripts into the website, such as tracking codes, these can become faulty and need to be adjusted. This might be solvable by using default ready state events in JavaScript.

If your shop already has a high TTFB (Time To First Byte), this plugin is not worth using. It will not solve a high TTFB, and the minification itself adds a little processing time on top. Fixing the root cause of your high TTFB brings far more benefit than minifying the HTML.

Download
--------

[](#download)

### Composer from [packagist.org](https://packagist.org/packages/frosh/platform-html-minify)

[](#composer-from-packagistorg)

```
composer require frosh/platform-html-minify

```

### Store

[](#store)

Download Plugin via plugin manager or extension manager

### ZIP

[](#zip)

Download the plugin from the release page, upload it into the plugin manager or extension manager and enable it Latest release:

```
https://github.com/FriendsOfShopware/FroshPlatformHtmlMinify/releases/latest/download/FroshPlatformHtmlMinify.zip

```

Install
-------

[](#install)

```
bin/console plugin:refresh
bin/console plugin:install -c --activate FroshPlatformHtmlMinify
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance98

Actively maintained with recent releases

Popularity39

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 92.5% 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 ~135 days

Recently: every ~220 days

Total

15

Last Release

11d ago

Major Versions

v1.x-dev → 2.0.02023-02-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c45ef9077b73fce78afbfab2fa27e611a453dd77de003e2785ac84105d02bef?d=identicon)[shyim](/maintainers/shyim)

---

Top Contributors

[![tinect](https://avatars.githubusercontent.com/u/135993?v=4)](https://github.com/tinect "tinect (86 commits)")[![shyim](https://avatars.githubusercontent.com/u/6224096?v=4)](https://github.com/shyim "shyim (2 commits)")[![Josniii](https://avatars.githubusercontent.com/u/13622443?v=4)](https://github.com/Josniii "Josniii (1 commits)")[![amenk](https://avatars.githubusercontent.com/u/1087128?v=4)](https://github.com/amenk "amenk (1 commits)")[![PheysX](https://avatars.githubusercontent.com/u/28557712?v=4)](https://github.com/PheysX "PheysX (1 commits)")[![M-arcus](https://avatars.githubusercontent.com/u/25648755?v=4)](https://github.com/M-arcus "M-arcus (1 commits)")[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (1 commits)")

---

Tags

htmlshopwareminifybackend

### Embed Badge

![Health badge](/badges/frosh-platform-html-minify/health.svg)

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

###  Alternatives

[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[frosh/tools

Provides some basic things for managing the Shopware Installation

87820.7k3](/packages/frosh-tools)[wyrihaximus/minify-html

Html minifier for CakePHP3

18153.6k1](/packages/wyrihaximus-minify-html)[christianklisch/slim-minify

Minify html output in slim framework

3832.0k1](/packages/christianklisch-slim-minify)[pfaciana/tiny-html-minifier

Minify HTML in PHP with just a single class

12104.0k4](/packages/pfaciana-tiny-html-minifier)

PHPackages © 2026

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