halfpastfouram/zend-headminifier

This package is abandoned and no longer maintained. No replacement package was suggested.

ZF3 module for minifying head scripts and head links using matthiasmullie/minify

v1.5 2018-09-06 08:56 UTC

This package is auto-updated.

Last update: 2021-03-10 02:38:46 UTC


README

Latest Stable Version composer.lock available License Total Downloads Maintainability Scrutinizer score Scrutinizer build status

ZF3 Head Minifier

ZF3 module that minifies head links and head scripts using matthiasmullie/minify.

Installation:

Require this module via composer:

$ composer require halfpastfouram/zend-headminifier

Add the module to modules.config.php:

'Halfpastfour\HeadMinifier'

Configuration

The following settings can be changed in your global configuration file:

    'minify_head' => [
        'script' => [
            'enabled'     => true,
            'directories' => [
                'public' => './public',
                'cache'  => './public/js',
            ],
        ],
        'link'   => [
            'enabled'     => true,
            'directories' => [
                'public' => './public',
                'cache'  => './public/css',
            ],
        ],
    ],