axllent/silverstripe-minifier

CSS & JavaScript minifier, in PHP for SilverStripe 4 integrating matthiasmullie/minify

Installs: 4 216

Dependents: 5

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

1.0.2 2018-08-11 10:50 UTC

This package is auto-updated.

Last update: 2020-07-27 13:52:50 UTC


README

An extension to integrate matthiasmullie/minify minification into SilverStripe 4 to minify all combined JavaScript and CSS files.

Requirements

  • SilverStripe 4+

Installation via composer

composer require axllent/silverstripe-minifier

Usage

The module is currently just plug-and-play. Once installed it will automatically minify all combined JavaScript and CSS files in live mode. Do not forget to ?flush after installation.

Please refer to the PageController example to see example usage in your PageController.