htmldoc
A token based HTML Document parser and minifier written in PHP. Extract attribute values and text using CSS selectors. (by hexydec)
tokenise
A Regexp Based PHP Tokeniser (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
tokenise
Posts with mentions or reviews of tokenise.
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
All 3 projects now used similar code layouts and a similar tokeniser, so I unified the tokeniser across the projects by moving the tokeniser into its own GitHub project. I also had to put all the projects on packagist and bring the projects together using composer.
-
The State of Minification in PHP – How 1 Project Grew into 6 (Part 2)
Tokenise on GitHub and Packagist
What are some alternatives?
When comparing htmldoc and tokenise 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.
jslite - A token based Javascript compiler/minifier designed for compressing inline scripts on the fly, written in PHP
minify-compare - A script to compare PHP minfiers on speed and compression.
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