htmldoc
A token based HTML Document parser and minifier written in PHP. Extract attribute values and text using CSS selectors. (by hexydec)
minify-compare
A script to compare PHP minfiers on speed and compression. (by hexydec)
Our great sponsors
htmldoc | minify-compare | |
---|---|---|
2 | 2 | |
21 | 0 | |
- | - | |
6.1 | 0.0 | |
13 days ago | over 1 year ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
htmldoc
Posts with mentions or reviews of htmldoc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-30.
-
The State of Minification in PHP – How 1 Project Grew into 6
First let me fess up here, I have written a number of PHP minification programs in my career, and 3 years ago I started my own GitHub project to write an HTML minifier in PHP. Partly this article is to present that software to you, but it is also to show you the research I did myself to see how my project stacked up against the competition and improve my software, hopefully you will find the results interesting, as I did.
-
The State of Minification in PHP – How 1 Project Grew into 6 (Part 2)
HTMLdoc on GitHub and Packagist
minify-compare
Posts with mentions or reviews of minify-compare.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-30.
-
The State of Minification in PHP – How 1 Project Grew into 6
So I started another project to compare minifiers, the idea here was to expand on the code that downloaded all the website code to throw through my minifier, and compress the code with each of the minifiers I found, logging the time each one took, and what the compression ratio was.
-
The State of Minification in PHP – How 1 Project Grew into 6 (Part 2)
Minify-Compare on GitHub
What are some alternatives?
When comparing htmldoc and minify-compare you can also consider the following projects:
wp-rocket - Performance optimization plugin for WordPress
cssdoc - A token based CSS parser and minifier
html5-dom-document-php - A better HTML5 parser for PHP.
tokenise - A Regexp Based PHP Tokeniser
jslite - A token based Javascript compiler/minifier designed for compressing inline scripts on the fly, written in PHP
torque - A Wordpress plugin to optimise the transport of your website to the client. Reduce the load on your server and make your Wordpress website fly!
HtmlMin - :clamp: HtmlMin: HTML Compressor and Minifier via PHP