require_once APP . '/plugins/TurtlePHP-BasePlugin/Base.class.php';
require_once APP . '/plugins/TurtlePHP-JSCompressorPlugin/JSCompressor.class.php';
$path = APP . '/config/plugins/jSCompressor.inc.php';
TurtlePHP\Plugin\JSCompressor::setJSCompressorPath($path);
TurtlePHP\Plugin\JSCompressor::init();
onassar/TurtlePHP-JSCompressorPlugin
TurtlePHP JS Compressor plugin which provides concatenation and minifying capabilities for batches of JavaScript files.
PHPMIT