websharks/css-minifier

Compresses CSS.

150820 2015-08-21 03:19 UTC

README

CSS minifier (i.e., compressor).

Installation Instructions (Two Options)

  1. As a Composer Dependency
{
    "require": {
        "websharks/css-minifier": "dev-master"
    }
}
  1. Or, Download the PHAR Binary See: https://github.com/websharks/css-minifier/releases

Usage Example

$css = '.hello { font-family: World; }';
$compressed_css = WebSharks\CssMinifier\Core::compress($css);