janpapenbrock / php-html-minify
This package is abandoned and no longer maintained.
No replacement package was suggested.
Trim down your page size by minifying HTML.
v0.1-alpha
2016-05-06 08:14 UTC
Requires
- php: >=5.3
Requires (Dev)
- phpunit/phpunit: 5.1.*
This package is not auto-updated.
Last update: 2023-05-13 11:56:31 UTC
README
Want whitespace-free HTML for lowest page size? Save your mobile visitors some bytes from their monthly bill.
Install
This is available via composer:
"require": {
"janpapenbrock/php-html-minify": "~1.0"
}
Usage
$minify = new janpapenbrock\HtmlMinify\HtmlMinify();
$minHtml = $minify->minify($html);