jslite
A token based Javascript compiler/minifier designed for compressing inline scripts on the fly, written in PHP (by hexydec)
minify-compare
A script to compare PHP minfiers on speed and compression. (by hexydec)
jslite | minify-compare | |
---|---|---|
2 | 2 | |
6 | 0 | |
- | - | |
6.1 | 0.0 | |
4 months 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.
jslite
Posts with mentions or reviews of jslite.
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
But the port is not actively maintained (Last commit was Dec 2018), and was created before ES6, so I started another project called JSlite. This time I didn’t want to be too heavy handed with the compression, the goal was to minify inline Javascript in a webpage on the fly, if I could just remove the unneeded whitespace, I figured that would be enough.
-
The State of Minification in PHP – How 1 Project Grew into 6 (Part 2)
JSlite 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 jslite and minify-compare you can also consider the following projects:
htmldoc - A token based HTML Document parser and minifier written in PHP. Extract attribute values and text using CSS selectors.
cssdoc - A token based CSS parser and minifier
tokenise - A Regexp Based PHP Tokeniser
Smidge - A lightweight runtime CSS/JavaScript file minification, combination, compression & management library for ASP.Net Core