PHPackages                             dgsiegel/kirby-tidy-html - 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. dgsiegel/kirby-tidy-html

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

dgsiegel/kirby-tidy-html
========================

Tidy HTML output for Kirby

1.0.0(2y ago)358↓100%GPL-3.0-or-laterPHP

Since Dec 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dgsiegel/kirby-tidy-html)[ Packagist](https://packagist.org/packages/dgsiegel/kirby-tidy-html)[ Docs](https://github.com/dgsiegel/kirby-tidy-html)[ RSS](/packages/dgsiegel-kirby-tidy-html/feed)WikiDiscussions master Synced 1mo ago

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

Kirby Tidy HTML
===============

[](#kirby-tidy-html)

Tidy HTML output for Kirby

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

[](#installation)

### Requirements

[](#requirements)

You’ll need the [PHP tidy](https://www.php.net/manual/en/book.tidy.php) extension installed and loaded. You can check whether this is the case with the following command:

```
php -r "var_dump(extension_loaded('tidy'));"

```

### Installation with composer

[](#installation-with-composer)

```
composer require dgsiegel/kirby-tidy-html

```

### Add as git submodule

[](#add-as-git-submodule)

```
git submodule add https://github.com/dgsiegel/kirby-tidy-html.git site/plugins/kirby-tidy-html

```

### Download manually

[](#download-manually)

Download and copy this repository to `site/plugins/kirby-tidy-html`.

Options
-------

[](#options)

The default values of the package are:

OptionDefaultDescriptiondgsiegel.kirby-tidy-html.enabledfalseEnable/disable tidydgsiegel.kirby-tidy-html.options\[\]Tidy optionsFind all available Tidy options here: [https://api.html-tidy.org/tidy/quickref\_next.html](https://api.html-tidy.org/tidy/quickref_next.html)

Usage
-----

[](#usage)

```
return [
    'dgsiegel.kirby-tidy-html.enabled' => true,
    'dgsiegel.kirby-tidy-html.options' => [
       'drop-empty-paras'    => 0,
       'indent'              => 2,
       'indent'              => 2,
       'indent-spaces'       => 2,
       'indent-spaces'       => 2,
       'output-html'         => 1,
       'preserve-entities'   => 1,
       'priority-attributes' => 'id, class, name, src, alt',
       'quote-ampersand'     => 0,
       'sort-attributes'     => 0,
       'vertical-space'      => 1,
       'wrap'                => 0,
    ],
];
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

881d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdb52a5b033fa5594a919c7f75af79140938b48546dd3af37e18f60f7fef278c?d=identicon)[dgsiegel](/maintainers/dgsiegel)

---

Top Contributors

[![dgsiegel](https://avatars.githubusercontent.com/u/4396895?v=4)](https://github.com/dgsiegel "dgsiegel (3 commits)")

---

Tags

kirby3kirby4kirby5

### Embed Badge

![Health badge](/badges/dgsiegel-kirby-tidy-html/health.svg)

```
[![Health](https://phpackages.com/badges/dgsiegel-kirby-tidy-html/health.svg)](https://phpackages.com/packages/dgsiegel-kirby-tidy-html)
```

###  Alternatives

[distantnative/retour-for-kirby

Manage redirects and track 404s right from the Kirby CMS Panel

14689.4k1](/packages/distantnative-retour-for-kirby)[mzur/kirby-uniform

A versatile Kirby plugin to handle web form actions.

26068.3k13](/packages/mzur-kirby-uniform)[arnoson/kirby-vite

Vite helper for Kirby CMS

9759.2k3](/packages/arnoson-kirby-vite)[thathoff/kirby-git-content

Plugin to track changes to content in a git repository.

15343.7k](/packages/thathoff-kirby-git-content)[sylvainjule/locator

A map &amp; geolocation field, built on top of open-source services / Mapbox

11237.3k1](/packages/sylvainjule-locator)[tobimori/kirby-seo

The default choice for SEO on Kirby: Implement technical SEO &amp; Meta best practices with ease and provide an easy-to-use editor experience

10039.7k1](/packages/tobimori-kirby-seo)

PHPackages © 2026

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