PHPackages                             nathancox/minify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nathancox/minify

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

nathancox/minify
================

Minifies CSS requirements using Minify (http://code.google.com/p/minify/)

v2.0.0(8y ago)28143.4k↑39.5%9[1 PRs](https://github.com/nathancox/silverstripe-minify/pulls)1PHP

Since Jun 11Pushed 8y ago3 watchersCompare

[ Source](https://github.com/nathancox/silverstripe-minify)[ Packagist](https://packagist.org/packages/nathancox/minify)[ RSS](/packages/nathancox-minify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (1)

SilverStripe Minify CSS Module
==============================

[](#silverstripe-minify-css-module)

This module replaces part of the Requirements system to compress CSS files using . The idea and implementation are basically stolen from Tonyair ()

Maintainer
----------

[](#maintainer)

Nathan Cox ()

Requirements
------------

[](#requirements)

SilverStripe 3.1+ Check out the SS-3.0 branch for a version compatible with SS 3.0

Installation Instructions
-------------------------

[](#installation-instructions)

1. Place the files in a directory called "minify" in the root of your SilverStripe installation
2. Visit yoursite.com/dev/build

Usage
-----

[](#usage)

The module will automatically replace the Requirements backend with a custom subclass, so you don't need to do anything differently.

Just use combine\_files to include your CSS as normal:

```
