Skip to content
[Unsupported] A stand alone CSS parser, minifier and cacher.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Compression v3.0.1

A basic class that loads CSS files, compresses them, and saves the resulting output into a cached file.


  • PHP 5.3+ - v3.x
  • PHP 5.2+ - v2.x


  • Can define variables within your stylesheet instead of typing the same value repeatedly
  • Can call PHP functions within the CSS to output dynamic stylesheets
  • Stylesheets are compressed and stripped of whitespace
  • Logs a ratio of how much space was saved during compression
  • Enable or disable caching
  • Cached files and folders are created relative to the parent CSS folder
  • Outputs the appropriate HTTP headers


Thorough documentation can be found here:

You can’t perform that action at this time.