JShrink is a Javascript minifier written in pure PHP. It allows web applications such as Magento and Matomo (as well as thousands of other projects) to shrink Javascript code on the fly. In 2014 JShrink reached stability, and shortly after that hit the milestone of 100k total downloads- today JShrink has over 21 million downloads,…
Category: JShrink
JShrink is a javascript minifier written in PHP. It’s designed to take large javascript files and remove the superflous bit, making the download faster.
JShrink has some advantages over other libraries. Since it was written in native php, rather than ported, it has better performance. It has some extra features, like the ability to retain licensing data after shrinking other content.
JShrink is hosted on Github.
JShrink reaches 100k downloads on Packagist!
Five years ago JShrink was released to let PHP apps minify their javascript assets natively. Since then the PHP world has matured considerably, especially when it comes to package delivery. The introduction of composer, and it’s website counter part Packagist.org, has been a huge boon to development. Two and a half years ago JShrink was…
JShrink added to the HHVM Compatibility Test Suite
In the most recent release of JShrink I pledged full HHVM support, and since then have been running our full test suite against the 3.0 release as well as the nightly builds. Well, it seems that HHVM has itself committed to supporting JShrink, as they’ve added it to their own framework compatibility test suite. For the…
Today I’m proud to release JShrink v1.0!
When JShrink was first created it was meant to solve a simple problem- minify javascript as quickly as possible, and do so with an open source license. JShrink has been in development for several years now. It’s migrated from Google Code to Github and modernized with support for things like Composer and the PSR standards. It’s been…