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 today

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

22

—

LowBetter than 24% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

832d 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

[mzur/kirby-uniform

A versatile Kirby plugin to handle web form actions.

26066.8k12](/packages/mzur-kirby-uniform)[thathoff/kirby-git-content

Plugin to track changes to content in a git repository.

15342.5k](/packages/thathoff-kirby-git-content)[arnoson/kirby-vite

Vite helper for Kirby CMS

9457.1k3](/packages/arnoson-kirby-vite)[sylvainjule/locator

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

11336.1k1](/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

10037.0k1](/packages/tobimori-kirby-seo)[diesdasdigital/kirby-meta-knight

Meta Knight – SEO for Kirby

11025.8k](/packages/diesdasdigital-kirby-meta-knight)

PHPackages © 2026

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