htmldoc
A token based HTML Document parser and minifier written in PHP. Extract attribute values and text using CSS selectors. (by hexydec)
cssdoc
A token based CSS parser and minifier (by hexydec)
Our great sponsors
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
cssdoc
Posts with mentions or reviews of cssdoc.
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 already had an old CSS compiler, and in my pursuit of the highest compression, it was clear that I needed to rewrite this to compile any inline CSS in the HTML, enter another Github project - CSSdoc.
-
The State of Minification in PHP – How 1 Project Grew into 6 (Part 2)
CSSdoc on GitHub and Packagist
What are some alternatives?
When comparing htmldoc and cssdoc you can also consider the following projects:
wp-rocket - Performance optimization plugin for WordPress
tokenise - A Regexp Based PHP Tokeniser
html5-dom-document-php - A better HTML5 parser for 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!
minify-compare - A script to compare PHP minfiers on speed and compression.
jslite - A token based Javascript compiler/minifier designed for compressing inline scripts on the fly, written in PHP
torque - `torque` is a web framework for building hypermedia driven applications in Go
HtmlMin - :clamp: HtmlMin: HTML Compressor and Minifier via PHP