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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vanry/javascript-unpacker

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

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

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

1.1.0(9y ago)52.2kMITPHPPHP &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 today

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 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

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

3496d 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.3k48.3M329](/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.0k33.1M462](/packages/matthiasmullie-minify)[tedivm/jshrink

Javascript Minifier built in PHP

76339.9M179](/packages/tedivm-jshrink)[symfony/ux-turbo

Hotwire Turbo integration for Symfony

3928.2M75](/packages/symfony-ux-turbo)[dkcwd/dkcwd-zf2-munee

Zend Framework 2 module leveraging 'munee' an asset optimisation library developed by Cody Lundquist. You can find munee at http://github.com/meenie/munee

102.1k](/packages/dkcwd-dkcwd-zf2-munee)

PHPackages © 2026

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