vanry/javascript-packer

打包JavaScript,由Dean Edwards的JavaScript Packer发展而来

1.0.0 2016-12-08 02:14 UTC

This package is auto-updated.

Last update: 2024-09-24 14:59:42 UTC


README

PHP JavaScript 打包器

use JavascriptPacker\JavascriptPacker;

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

$packer = new JavascriptPacker;

echo $packer->pack($source);