PHPackages                             rattrap/spress-html-beautifier - 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. rattrap/spress-html-beautifier

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

rattrap/spress-html-beautifier
==============================

Beautify your HTML

v1.0.0(10y ago)042MITPHP

Since Apr 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rattrap/spress-html-beautifier)[ Packagist](https://packagist.org/packages/rattrap/spress-html-beautifier)[ RSS](/packages/rattrap-spress-html-beautifier/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Beautify HTML
-------------

[](#beautify-html)

[![Spress 2 ready](https://camo.githubusercontent.com/c561b5ab66f0296c37bc409f8a6a49fffb49b600c4341ff8df52ebbc742c40ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537072657373253230322d72656164792d627269676874677265656e2e737667)](https://camo.githubusercontent.com/c561b5ab66f0296c37bc409f8a6a49fffb49b600c4341ff8df52ebbc742c40ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537072657373253230322d72656164792d627269676874677265656e2e737667)

Beautify your Spress HTML output

Inspired by [spress-html-compress](https://github.com/paramonovav/spress-html-compress)

### How do I install it?

[](#how-do-i-install-it)

Go to your Spress site and add the following to your `composer.json` and run `composer update`:

```
"require": {
    "rattrap/spress-html-beautifier": "1.0.*"
}
```

### How do I use it?

[](#how-do-i-use-it)

Add the following to your config.yml to exclude some files from minify/compress process:

```
html_beautifier_excluded: ['.htaccess', 'CNAME', 'robots.txt', 'crossdomain.xml', 'sitemap.xml', 'rss.xml']
```

And run the build command:

```
spress site:build
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3720d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3051409?v=4)[Leo](/maintainers/rattrap)[@rattrap](https://github.com/rattrap)

---

Top Contributors

[![rattrap](https://avatars.githubusercontent.com/u/3051409?v=4)](https://github.com/rattrap "rattrap (2 commits)")

---

Tags

pluginspress

### Embed Badge

![Health badge](/badges/rattrap-spress-html-beautifier/health.svg)

```
[![Health](https://phpackages.com/badges/rattrap-spress-html-beautifier/health.svg)](https://phpackages.com/packages/rattrap-spress-html-beautifier)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k40.0M2.6k](/packages/ergebnis-composer-normalize)[coldtrick/widget_manager

Manage your widgets

214.4k](/packages/coldtrick-widget-manager)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

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