halfpastfouram / zend-headminifier
ZF3 module for minifying head scripts and head links using matthiasmullie/minify
Installs: 801
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:package
Requires
- php: ^7.1
- matthiasmullie/minify: ^1.3.59
- zendframework/zend-http: ^2.8.0
- zendframework/zend-modulemanager: ^2.8.2
- zendframework/zend-servicemanager: ^3.3.2
- zendframework/zend-view: ^2.10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.13.0
- phpunit/phpunit: ^7.3.4
- squizlabs/php_codesniffer: 2.*
This package is auto-updated.
Last update: 2021-03-10 02:38:46 UTC
README
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', ], ], ],