vanry/javascript-packer

Pack javascript, developed from Dean Edwards' JavaScript Packer

1.0.0 2016-12-08 02:14 UTC

README

PHP Javascript Packer


use JavascriptPacker\JavascriptPacker;

$source = "console.log('hello world');";

$packer = new JavascriptPacker;

echo $packer->pack($source);