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

ActiveSpress-plugin

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 2mo ago

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 49% 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

3671d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f77d37f10271648c966eb93d93b1b454e1c3dc763c840fa91c459139e57bebc2?d=identicon)[rattrap](/maintainers/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

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[sabre/event

sabre/event is a library for lightweight event-based programming

35227.4M25](/packages/sabre-event)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

24924.2M71](/packages/php-http-cache-plugin)[pestphp/pest-plugin

The Pest plugin manager

4458.2M109](/packages/pestphp-pest-plugin)

PHPackages © 2026

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