Minifies HTML output for Kirby projects.
Minifies HTML output by removing comments and trailing whitespace around text nodes, using PHP 8.4’s native HTML5 parser.
composer require kenshodigital/kirby-html ^1.0
Works out of the box without any configuration.