czproject/css-minifier

This package is abandoned and no longer maintained. The author suggests using the czproject/css-tools package instead.

Simple CSS minifier.

dev-master 2013-04-22 11:16 UTC

This package is auto-updated.

Last update: 2024-02-02 08:55:28 UTC


README

Simple CSS minifier.

<?php
	$minifier = new Cz\CssMinifier\CssMinifier;
	$result = $minifier->minify("body {
		color: #333;
		background: #fff;
	}");
	
	var_dump($result); // Output: body{color:#333;background:#fff}

License: New BSD License