PHPackages                             carbon/compression - 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. carbon/compression

ActiveNeos-carbon[Utility &amp; Helpers](/categories/utility)

carbon/compression
==================

Output minification for Flow and Neos

6.0.0(10mo ago)342.7k↓30.8%5[1 issues](https://github.com/CarbonPackages/Carbon.Compression/issues)GPL-3.0-or-laterPHP

Since Apr 24Pushed 10mo ago5 watchersCompare

[ Source](https://github.com/CarbonPackages/Carbon.Compression)[ Packagist](https://packagist.org/packages/carbon/compression)[ Fund](https://www.paypal.me/Jonnitto/20eur)[ GitHub Sponsors](https://github.com/jonnitto)[ RSS](/packages/carbon-compression/feed)WikiDiscussions main Synced 1mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/993858daabe97ab938cc2b18b6b843efaa231bb19aa83c6666f19bf9df812437/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f636f6d7072657373696f6e2f762f737461626c65)](https://packagist.org/packages/carbon/compression)[![Total Downloads](https://camo.githubusercontent.com/6c421e58fee46fe1a7952b3294bc238f03f2906a37a5cd482c6e813f6af83f08/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f636f6d7072657373696f6e2f646f776e6c6f616473)](https://packagist.org/packages/carbon/compression)[![License](https://camo.githubusercontent.com/6827aa417f9a7e992b35e4e659d6f90a5428f316e67744a5262f6c8fbe0446e4/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f636f6d7072657373696f6e2f6c6963656e7365)](LICENSE)[![GitHub forks](https://camo.githubusercontent.com/fd444ae67ae09e30b37b812096cc5e9d7502c63cd0ddb50309bca73225de5671/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f436172626f6e5061636b616765732f436172626f6e2e436f6d7072657373696f6e2e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/CarbonPackages/Carbon.Compression/fork)[![GitHub stars](https://camo.githubusercontent.com/759fee2a0baa0bc1c28241395746143daf2d85da6648289cf290f5c37ec2029b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f436172626f6e5061636b616765732f436172626f6e2e436f6d7072657373696f6e2e7376673f7374796c653d736f6369616c266c6162656c3d5374617273)](https://github.com/CarbonPackages/Carbon.Compression/stargazers)[![GitHub watchers](https://camo.githubusercontent.com/836bd376853dcddb2ccfecfa3c6806840ce8407254958d0f71690d16abcd12b5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f436172626f6e5061636b616765732f436172626f6e2e436f6d7072657373696f6e2e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/CarbonPackages/Carbon.Compression/subscription)

Carbon.Compression Package for Flow &amp; Neos CMS
==================================================

[](#carboncompression-package-for-flow--neos-cms)

This package minifies the HTML output of Flow using [wyrihaximus/html-compress](https://github.com/WyriHaximus/HtmlCompress). **If you set your templates with AFX, you might not need this package.**

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

[](#installation)

```
composer require carbon/compression
```

Inner working
-------------

[](#inner-working)

The compression http middleware will modify all responses with active `X-Compression: Enabled` http header. This header is added to `Neos.Neos:Page` already so this will work for Neos right away. For other controllers, you will have to add the `X-Compression: Enabled` manually.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance47

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~187 days

Recently: every ~300 days

Total

17

Last Release

313d ago

Major Versions

1.1.1 → 2.0.02019-09-24

v2.x-dev → 3.0.02021-01-08

3.1.0 → 4.0.02022-03-24

4.0.2 → 5.0.02025-07-09

v5.x-dev → 6.0.02025-07-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fec51ac160a110a31a72a54ac29e276a447d8306205a052d35491ac9cf0589b?d=identicon)[jonnitto](/maintainers/jonnitto)

---

Top Contributors

[![jonnitto](https://avatars.githubusercontent.com/u/4510166?v=4)](https://github.com/jonnitto "jonnitto (36 commits)")[![adrian-cerdeira](https://avatars.githubusercontent.com/u/43271236?v=4)](https://github.com/adrian-cerdeira "adrian-cerdeira (1 commits)")[![gjwnc](https://avatars.githubusercontent.com/u/19683930?v=4)](https://github.com/gjwnc "gjwnc (1 commits)")

---

Tags

carboncompressionneoscmspackagehelpercarbonflow

### Embed Badge

![Health badge](/badges/carbon-compression/health.svg)

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

###  Alternatives

[carbon/includeassets

Include your assets (css, js) in an easy way into Neos

14228.6k10](/packages/carbon-includeassets)[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

1494.4k6](/packages/shel-neos-colorpicker)[shel/neos-hyphens

A plugin for Neos CMS which provides hyphens for the inline editor

20200.7k1](/packages/shel-neos-hyphens)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21166.3k](/packages/techdivision-ckstyles)

PHPackages © 2026

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