kenshodigital / kirby-minify
Minifies HTML and XML output for Kirby projects.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:kirby-plugin
pkg:composer/kenshodigital/kirby-minify
Requires
- php: ^8.4
- ext-dom: *
- getkirby/cms: ^5.1
- getkirby/composer-installer: ^1.2
Replaces
README
Minifies HTML and XML output for Kirby projects.
General
The plugin extends Kirby’s core template component and directly applies post-processing to template-based HTML and XML output. It removes comments and trims trailing whitespace from text nodes, using PHP’s native DOM parsers.
Installation
composer require kenshodigital/kirby-minify ^1.0
Usage
The plugin works out-of-the-box, no further configuration required.