2017 © Pedro Peláez
 

library carew-assetic

Assetic plugin for carew

image

francisbesset/carew-assetic

Assetic plugin for carew

  • Tuesday, December 3, 2013
  • by FrancisBesset
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Assetic plugin for Carew

Installation

Install it with composer:, (*1)

composer require francisbesset/carew-assetic

Then configure config.yml, (*2)

engine:
    extensions:
        - FrancisBesset\Carew\Assetic\AsseticExtension

assetic:
    java: /usr/bin/java
    yui_css:
        bin: /usr/local/Cellar/yuicompressor/2.4.8/libexec/yuicompressor-2.4.8.jar
        options:
            charset:   utf-8
            lineBreak: ~
    yui_js:
        bin: /usr/local/Cellar/yuicompressor/2.4.8/libexec/yuicompressor-2.4.8.jar
        options:
            charset:              utf-8
            lineBreak:            ~
            nomunge:              false
            preserveSemi:         false
            disableOptimizations: false
    jpegoptim:
        bin: /usr/local/bin/jpegoptim
        options:
            stripAll: true
            max:      100
    htmlcompressor_xml:
        bin: /usr/local/Cellar/htmlcompressor/1.5.3/libexec/htmlcompressor-1.5.3.jar
        options:
            preserveComments:     false
            removeIntertagSpaces: true
    htmlcompressor_html:
        bin: /usr/local/Cellar/htmlcompressor/1.5.3/libexec/htmlcompressor-1.5.3.jar
        options:
            preserveComments:        false
            preserveMultiSpaces:     false
            preserveLineBreaks:      false
            removeIntertagSpaces:    true
            removeQuotes:            true
            simpleDoctype:           true
            removeStyleAttr:         true
            removeLinkAttr:          true
            removeScriptAttr:        true
            removeFormAttr:          true
            removeInputAttr:         true
            simpleBoolAttr:          true
            removeJsProtocol:        true
            removeHttpProtocol:      true
            removeHttpsProtocol:     true
            removeSurroundingSpaces: all
            compressJs:              true
            compressCss:             true
            jsCompressor:            yui
    filters:
        css:  yui_css
        js:   yui_js
        jpeg: jpegoptim
        html: htmlcompressor_html
        xml:  htmlcompressor_xml

The Versions

03/12 2013

dev-master

9999999-dev https://github.com/francisbesset/carew-assetic

Assetic plugin for carew

  Sources   Download

MIT

The Requires

 

assetic carew

03/12 2013