PHPackages                             vanry/javascript-unpacker - 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. vanry/javascript-unpacker

ActiveLibrary

vanry/javascript-unpacker
=========================

Unpack javascript packed from http://dean.edwards.name/packer/

1.1.0(9y ago)52.1kMITPHPPHP &gt;=5.3

Since Mar 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vanry/javascript-unpacker)[ Packagist](https://packagist.org/packages/vanry/javascript-unpacker)[ Docs](http://vanry.me)[ RSS](/packages/vanry-javascript-unpacker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

### PHP Javascript Unpacker

[](#php-javascript-unpacker)

```
use JavascriptUnpacker\JavascriptUnpacker;

$source = "eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.1(\'2 3\');',4,4,'console|log|hello|world'.split('|'),0,{}))";

$unpacker = new JavascriptUnpacker;

echo $unpacker->unpack($source);
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~250 days

Total

2

Last Release

3451d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf1f2480be5d6640be58eb100c6047d497507f81a113460e0857b17472a19801?d=identicon)[vanry](/maintainers/vanry)

---

Top Contributors

[![vanry](https://avatars.githubusercontent.com/u/5253239?v=4)](https://github.com/vanry "vanry (3 commits)")

---

Tags

javascriptevalunpacker

### Embed Badge

![Health badge](/badges/vanry-javascript-unpacker/health.svg)

```
[![Health](https://phpackages.com/badges/vanry-javascript-unpacker/health.svg)](https://phpackages.com/packages/vanry-javascript-unpacker)
```

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)[friendsofsymfony/jsrouting-bundle

A pretty nice way to expose your Symfony routing to client applications.

1.5k53.6M229](/packages/friendsofsymfony-jsrouting-bundle)[tedivm/jshrink

Javascript Minifier built in PHP

76037.7M139](/packages/tedivm-jshrink)

PHPackages © 2026

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