8000 GitHub - gpbmike/PHP-YUI-Compressor: PHP Class to interface with the YUI Compressor · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
gpbmikePublic archive

About

PHP Class to interface with the YUI Compressor

Resources

Stars

96 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

I do not actively maintain this repository. There are a couple of forks that might work for you.

How to use

// 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();

About

PHP Class to interface with the YUI Compressor

Resources

Stars

96 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0