PHPackages                             werkint/jsmin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. werkint/jsmin

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

werkint/jsmin
=============

Library for minifying JavaScript files

1.0.0(12y ago)2114.5k4MITPHPPHP &gt;=5.4

Since Nov 10Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Werkint/JsMin)[ Packagist](https://packagist.org/packages/werkint/jsmin)[ RSS](/packages/werkint-jsmin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (4)

JSMin.php - modified PHP implementation of Douglas Crockford's JSMin.

`$minifiedJs = \JSMin\Minify::minify($js);`This is a modified port of jsmin.c. Improvements:

Does not choke on some regexp literals containing quote characters. E.g. /'/

Spaces are preserved after some add/sub operators, so they are not mistakenly converted to post-inc/dec. E.g. a + ++b -&gt; a+ ++b

Preserves multi-line comments that begin with /\*!

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4562d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/533d0c99c4e0c7413a1dcce2d81c37ecf94883e6377d274d6f43247a399bb268?d=identicon)[nick4fake](/maintainers/nick4fake)

---

Top Contributors

[![rejinka](https://avatars.githubusercontent.com/u/831348?v=4)](https://github.com/rejinka "rejinka (1 commits)")

### Embed Badge

![Health badge](/badges/werkint-jsmin/health.svg)

```
[![Health](https://phpackages.com/badges/werkint-jsmin/health.svg)](https://phpackages.com/packages/werkint-jsmin)
```

###  Alternatives

[jaeger/querylist-phantomjs

QueryList Plugin: Use PhantomJS to crawl Javascript dynamically rendered pages.(headless WebKit ) 使用PhantomJS采集JavaScript动态渲染的页面

6124.3k1](/packages/jaeger-querylist-phantomjs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
