websharks/css-minifier

Compresses CSS.

150820 2015-08-21 03:19 UTC

This package is not auto-updated.

Last update: 2024-10-29 03:58:45 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);