Download the PHP package deruli/html-minifier without Composer
On this page you can find all versions of the php package deruli/html-minifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download deruli/html-minifier
More information about deruli/html-minifier
Files in deruli/html-minifier
Download deruli/html-minifier
More information about deruli/html-minifier
Files in deruli/html-minifier
Vendor deruli
Package html-minifier
Short Description The Blink HTMLTokenizer ported to PHP. Fork by derUli.
License BSD-3-Clause
Homepage https://github.com/derUli/html-minifier
Package html-minifier
Short Description The Blink HTMLTokenizer ported to PHP. Fork by derUli.
License BSD-3-Clause
Homepage https://github.com/derUli/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 deruli/html-minifier contains the following files
Loading the files please wait ....