2017 © Pedro Peláez
 

yii2-extension yii2-assets-compress

This solution enables you to dynamically combine js and css files to optimize the html page.

image

iisns/yii2-assets-compress

This solution enables you to dynamically combine js and css files to optimize the html page.

  • Friday, February 12, 2016
  • by iisns
  • Repository
  • 1 Watchers
  • 5 Stars
  • 455 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

Automatically compile and merge files js + css

This solution enables you to dynamically combine js and css files to optimize the html page., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist iisns/yii2-assets-compress "*"

or add, (*4)

"iisns/yii2-assets-compress": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

//App config
[
    'bootstrap'    => ['assetsCompress'],
    'components'    => [
    //....
        'assetsAutoCompress' =>
        [
            'class' => '\iisns\assets\AssetsCompressComponent',
            'enabled'           => true,
            'jsCompress'        => true,
            'cssFileCompile'    => true,
            'jsFileCompile'     => true,
        ],
    //....
    ]
]

The Versions

12/02 2016

dev-master

9999999-dev

This solution enables you to dynamically combine js and css files to optimize the html page.

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar Shiyang

css yii2 assets js compress iisns

12/02 2016

v1.0.0

1.0.0.0

This solution enables you to dynamically combine js and css files to optimize the html page.

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar Shiyang

css yii2 assets js compress iisns