vanry/javascript-packer

Pack javascript, developed from Dean Edwards' JavaScript Packer

1.0.0 2016-12-08 02:14 UTC

This package is auto-updated.

Last update: 2020-05-24 05:27:31 UTC


README

PHP Javascript Packer

use JavascriptPacker\JavascriptPacker;

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

$packer = new JavascriptPacker;

echo $packer->pack($source);