carbon/compression

Output minification for Flow and Neos

Maintainers

Package info

github.com/CarbonPackages/Carbon.Compression

Type:neos-carbon

pkg:composer/carbon/compression

Statistics

Installs: 42 487

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 1

6.0.0 2025-07-09 19:01 UTC

This package is auto-updated.

Last update: 2026-03-09 20:32:14 UTC


README

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers

Carbon.Compression Package for Flow & Neos CMS

This package minifies the HTML output of Flow using wyrihaximus/html-compress. If you set your templates with AFX, you might not need this package.

Installation

composer require carbon/compression

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.