// INCLUDE COMPRESSOR CLASS
include('yuicompressor.php');
// INVOKE CLASS
$yui = new YUICompressor(JAR_PATH, TEMP_FILES_DIR, $options);
// ADD FILES
$yui->addFile($absolute_path_to_file);
// ADD STRING
$yui->addString($string);
// COMPRESS
$code = $yui->compress();
forked from gpbmike/PHP-YUI-Compressor
-
Notifications
You must be signed in to change notification settings - Fork 0
PHP Class to interface with the YUI Compressor
kryslin/PHP-YUI-Compressor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
PHP Class to interface with the YUI Compressor
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published