jslite
A token based Javascript compiler/minifier designed for compressing inline scripts on the fly, written in PHP (by hexydec)
tokenise
A Regexp Based PHP Tokeniser (by hexydec)
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
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 jslite and tokenise 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
Smidge - A lightweight runtime CSS/JavaScript file minification, combination, compression & management library for ASP.Net Core
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!