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: 2024-11-24 15:35:35 UTC


README

PHP Javascript Packer

use JavascriptPacker\JavascriptPacker;

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

$packer = new JavascriptPacker;

echo $packer->pack($source);