Skip to content

rmckeel/PHP-YUI-Compressor

This branch is up to date with gpbmike/PHP-YUI-Compressor:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a02157c · Feb 19, 2014

History

9 Commits
Feb 19, 2014
May 2, 2012

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%