PHPackages                             wyrihaximus/js-compress - 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. wyrihaximus/js-compress

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

wyrihaximus/js-compress
=======================

Compress/minify your JavaScript

6.1.0(10mo ago)4693.7k↓49.9%1[2 issues](https://github.com/WyriHaximus/php-js-compress/issues)[5 PRs](https://github.com/WyriHaximus/php-js-compress/pulls)1MITMakefilePHP ^8.4CI passing

Since Jul 7Pushed 6d agoCompare

[ Source](https://github.com/WyriHaximus/php-js-compress)[ Packagist](https://packagist.org/packages/wyrihaximus/js-compress)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/wyrihaximus-js-compress/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (7)Versions (20)Used By (1)

JsCompress
==========

[](#jscompress)

[![Continuous Integration](https://github.com/WyriHaximus/php-js-compress/actions/workflows/ci.yml/badge.svg)](https://github.com/WyriHaximus/php-js-compress/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/caa1edbbbb245c35143088578079247a8df064da70fe17c1670d07fe3b9ac206/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f6a732d636f6d70726573732f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/js-compress)[![Total Downloads](https://camo.githubusercontent.com/1d6efe2615482c22812245027a94808e4b4fcbfd53f50676f99d770e6715b83c/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f6a732d636f6d70726573732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/js-compress)[![Coverage Status](https://camo.githubusercontent.com/16cda1caab5e53e4cc79f195b133c3ca81dbff49277d008d519e8134899e282e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f57797269486178696d75732f7068702d6a732d636f6d70726573732f62616467652e706e67)](https://coveralls.io/r/WyriHaximus/php-js-compress)[![License](https://camo.githubusercontent.com/42168c3a5b68b510528f0788e513790b78a042b966fc6e035c3df166ff5a29d5/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f6a732d636f6d70726573732f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/js-compress)

Installation
------------

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require wyrihaximus/js-compress

```

License
-------

[](#license)

Copyright 2025 [Cees-Jan Kiewiet](http://wyrihaximus.net/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance69

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 77% 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

Every ~248 days

Recently: every ~427 days

Total

10

Last Release

315d ago

Major Versions

1.0.0 → 2.0.02020-11-29

2.0.2 → 3.0.02020-12-19

3.0.0 → 4.0.02020-12-19

4.0.0 → 5.0.02021-11-30

5.1.0 → 6.0.02025-06-03

PHP version history (5 changes)1.0.0PHP ^7.2

2.0.2PHP ^7.4 || ^8.0

5.1.0PHP ^8

6.0.0PHP ^8.3

6.1.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (391 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (42 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (20 commits)")[![renovate-runner[bot]](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/renovate-runner[bot] "renovate-runner[bot] (14 commits)")[![voku](https://avatars.githubusercontent.com/u/264695?v=4)](https://github.com/voku "voku (14 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (8 commits)")[![nochso](https://avatars.githubusercontent.com/u/6887618?v=4)](https://github.com/nochso "nochso (8 commits)")[![nlemoine](https://avatars.githubusercontent.com/u/2526939?v=4)](https://github.com/nlemoine "nlemoine (4 commits)")[![syteknet-core](https://avatars.githubusercontent.com/u/18579403?v=4)](https://github.com/syteknet-core "syteknet-core (3 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")[![dfeyer](https://avatars.githubusercontent.com/u/221173?v=4)](https://github.com/dfeyer "dfeyer (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

hacktoberfesthtmlcompress

### Embed Badge

![Health badge](/badges/wyrihaximus-js-compress/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-js-compress/health.svg)](https://phpackages.com/packages/wyrihaximus-js-compress)
```

###  Alternatives

[wyrihaximus/html-compress

Compress/minify your HTML

791.7M36](/packages/wyrihaximus-html-compress)[voku/html-min

HTML Compressor and Minifier

1885.0M63](/packages/voku-html-min)[appwrite/sdk-generator

SDK generator for Appwrite APIs across multiple programming languages and platforms

322207.2k3](/packages/appwrite-sdk-generator)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[wyrihaximus/minify-html

Html minifier for CakePHP3

18153.6k1](/packages/wyrihaximus-minify-html)[grafite/forms

A remarkably magical form package for Laravel.

376.9k1](/packages/grafite-forms)

PHPackages © 2026

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