PHPackages                             mix8872/yii2-minify-view - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. mix8872/yii2-minify-view

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

mix8872/yii2-minify-view
========================

Yii2 View component with auto minification css &amp; js in runtime

2.0.0(8y ago)05131MITPHP

Since May 16Pushed 6y agoCompare

[ Source](https://github.com/mix8872/yii2-minify-view)[ Packagist](https://packagist.org/packages/mix8872/yii2-minify-view)[ RSS](/packages/mix8872-yii2-minify-view/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (58)Used By (1)

Yii 2 Minify View Component
===========================

[](#yii-2-minify-view-component)

The main feature of this component - concatenate and compress files connected through "AssetBundle".

[![License](https://camo.githubusercontent.com/00cd2bc74a2e8fa964e16ae934d5da6e92d95315f84a54fd8c09e429afd6390b/68747470733a2f2f706f7365722e707567782e6f72672f6d6978383837322f796969322d6d696e6966792d766965772f6c6963656e73652e737667)](https://packagist.org/packages/mix8872/yii2-minify-view)[![Latest Stable Version](https://camo.githubusercontent.com/431af24449efd475338a83b2fbcc19dc04e8ae8745193f3801e3c94d57d9aa6c/68747470733a2f2f706f7365722e707567782e6f72672f6d6978383837322f796969322d6d696e6966792d766965772f762f737461626c652e737667)](https://packagist.org/packages/mix8872/yii2-minify-view)[![Latest Unstable Version](https://camo.githubusercontent.com/e7c4b925c5aaa2b50d810fa20d689ae610c88913903c9567dde1dd28e63f2530/68747470733a2f2f706f7365722e707567782e6f72672f6d6978383837322f796969322d6d696e6966792d766965772f762f756e737461626c652e737667)](https://packagist.org/packages/mix8872/yii2-minify-view)[![Total Downloads](https://camo.githubusercontent.com/fb4301e0a3de8964b4f876c3b470c62461128d39b2f1317d78358f7ab412dd2e/68747470733a2f2f706f7365722e707567782e6f72672f6d6978383837322f796969322d6d696e6966792d766965772f646f776e6c6f6164732e737667)](https://packagist.org/packages/mix8872/yii2-minify-view)

Code Status
-----------

[](#code-status)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b6ad878bd7a8cf582e346c78547fa08bf682231e8555d80d67f8889231327c83/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6978383837322f796969322d6d696e6966792d766965772f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mix8872/yii2-minify-view/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/bd33a2cf8f3f687c1db481feb6193beb9d95fcf06821ed7c6f43902c580f13c8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6978383837322f796969322d6d696e6966792d766965772f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mix8872/yii2-minify-view/?branch=master)[![Travis CI Build Status](https://camo.githubusercontent.com/e0d6157dc8563d3a4679e50cbf489eda6de1080c053445b0cc5d84f6061f9085/68747470733a2f2f7472617669732d63692e6f72672f6d6978383837322f796969322d6d696e6966792d766965772e737667)](https://travis-ci.org/mix8872/yii2-minify-view)[![Dependency Status](https://camo.githubusercontent.com/bdfc0b402a657109fb7be7a54f2e9c86c5822effddcfd74a5b891e5fd0f10dfe/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534313139623462396531363232613635313030303065312f62616467652e737667)](https://www.versioneye.com/user/projects/54119b4b9e1622a6510000e1)

Support
-------

[](#support)

[GutHub issues](https://github.com/mix8872/yii2-minify-view/issues) or [public chat](https://gitter.im/mix8872/support).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/).

Either run

```
composer require mix8872/yii2-minify-view
```

or add

```
"mix8872/yii2-minify-view": "^1.15",

```

to the `require` section of your `composer.json` file.

Configure
---------

[](#configure)

```
