Download the PHP package zaininnari/html-minifier without Composer
On this page you can find all versions of the php package zaininnari/html-minifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zaininnari/html-minifier
More information about zaininnari/html-minifier
Files in zaininnari/html-minifier
Download zaininnari/html-minifier
More information about zaininnari/html-minifier
Files in zaininnari/html-minifier
Vendor zaininnari
Package html-minifier
Short Description The Blink HTMLTokenizer ported to PHP.
License The BSD 3-Clause License
Homepage https://github.com/zaininnari/html-minifier
Package html-minifier
Short Description The Blink HTMLTokenizer ported to PHP.
License The BSD 3-Clause License
Homepage https://github.com/zaininnari/html-minifier
Please rate this library. Is it a good library?
Informations about the package html-minifier
html-minifier
The Blink HTMLTokenizer ported to PHP and minify HTML.
Requirements
- Any flavor of PHP 5.3 should do
- [optional] PHPUnit 3.5+ to execute the test suite (phpunit --version)
Use
Create composer.json. [composer.json]
Download composer.phar and install.
output html
Option
optimizationLevel
OPTIMIZATION_SIMPLE(default)
Replace many whitespace to a single whitespace. This option leave a new line of one.
[input]
[output]
OPTIMIZATION_ADVANCED
Remove the whitespace of all as much as possible.
- Remove whitespace
- between block element and block element
- between block element and inline element
- run trim in style, script and downlevel-revealed conditional comment
- [future] consider comments
- Preserve whitespace
- between inline element and inline element
[input]
[output]
Author
zaininnari
http://www.zay.jp/
Original source
License
Licensed under the MIT License and other License - see the LICENSE
file for details
All versions of html-minifier with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package zaininnari/html-minifier contains the following files
Loading the files please wait ....