All Projects โ†’ rmrevin โ†’ Yii2 Minify View

rmrevin / Yii2 Minify View

Licence: mit
Yii2 View component with minification css & js

Projects that are alternatives of or similar to Yii2 Minify View

imagemin-power-cli
Optimize (compress) images with power using imagemin ๐Ÿ’ช
Stars: โœญ 13 (-93.01%)
Mutual labels:  minify, minification
MinifyAll
A ๐—ฉ๐—ฆ๐—–๐—ผ๐—ฑ๐—ฒ ๐—บ๐—ถ๐—ป๐—ถ๐—ณ๐—ถ๐—ฒ๐—ฟ for JS, JSON/C, CSS, and HTML, you will love its simplicity! ๐ŸŒŸ ๐˜พ๐™ค๐™ข๐™ฅ๐™ง๐™š๐™จ๐™จ and ๐™œ๐™ฏ๐™ž๐™ฅ files and folders ๐Ÿ“ฆ Reduce your bundle and file sizes with lightning speed โšก
Stars: โœญ 54 (-70.97%)
Mutual labels:  minify, minification
Image Shrinker
App for macOS. Minify your images and graphics with just one drop. Autorenamed in the same place where it comes from. Immediately!
Stars: โœญ 217 (+16.67%)
Mutual labels:  minify, minification
yii2-presenter
Yii2 View Presenter
Stars: โœญ 13 (-93.01%)
Mutual labels:  view, yii
packtag
A JSP Taglib for delivering minified, combined and gzip-compressed resources (JavaScript and CSS).
Stars: โœญ 22 (-88.17%)
Mutual labels:  minify, minification
postcss-clean
PostCss plugin to minify your CSS with clean-css
Stars: โœญ 41 (-77.96%)
Mutual labels:  minify, minification
MinifyAllCli
๐Ÿ“ฆ A lightweight, simple and easy npm tool to ๐—บ๐—ถ๐—ป๐—ถ๐—ณ๐˜† JSON/C, HTML and CSS! Also known as MinifyAll core! โญ Usable as ๐‘ช๐‘ณ๐‘ฐ tool or ๐’Š๐’Ž๐’‘๐’๐’“๐’•๐’‚๐’ƒ๐’๐’† in TS/JS as a ๐‘ด๐‘ถ๐‘ซ๐‘ผ๐‘ณ๐‘ฌ ๐Ÿฅฐ
Stars: โœญ 21 (-88.71%)
Mutual labels:  minify, minification
kirby-blade
Enable Laravel Blade Template Engine for Kirby 3
Stars: โœญ 20 (-89.25%)
Mutual labels:  view, minify
Webmarkupmin
The Web Markup Minifier (abbreviated WebMarkupMin) - a .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.
Stars: โœญ 312 (+67.74%)
Mutual labels:  minify, minification
Toucheffects
Android View็‚นๅ‡ป็‰นๆ•ˆTouchEffects,ๅ‡ ่กŒไปฃ็ ไธบๆ‰€ๆœ‰ๆŽงไปถๆทปๅŠ ็‚นๅ‡ปๆ•ˆๆžœ
Stars: โœญ 167 (-10.22%)
Mutual labels:  view
Transitioner
A library for dynamic view-to-view transitions
Stars: โœญ 2,049 (+1001.61%)
Mutual labels:  view
Yii2 Ckeditor Widget
CKEditor WYSIWYG widget for Yii2.
Stars: โœญ 163 (-12.37%)
Mutual labels:  yii
Meiwidgetview
๐Ÿ”ฅไธ€ๆฌพๆฑ‡ๆ€ปไบ†้ƒญ้œ–๏ผŒ้ธฟๆด‹๏ผŒไปฅๅŠ่‡ชๅทฑๅนณๆ—ถๆ”ถ้›†็š„่‡ชๅฎšไน‰ๆŽงไปถ้›†ๅˆๅบ“๏ผˆๅฐ็บขไนฆ๏ผ‰
Stars: โœญ 2,060 (+1007.53%)
Mutual labels:  view
Youtubevideosample
YoutubeVideoSample
Stars: โœญ 176 (-5.38%)
Mutual labels:  view
Slidingsquareloaderview
Marvelous sliding square loader view
Stars: โœญ 166 (-10.75%)
Mutual labels:  view
Spannabletextview
SpannableTextView is a custom TextView which lets you customize the styling of slice of your text or statment via Spannables, but without the hassle of having to deal directly with Spannable themselves.
Stars: โœญ 177 (-4.84%)
Mutual labels:  view
Balance
Balance accounting (bookkeeping) system based on debit and credit principle
Stars: โœญ 162 (-12.9%)
Mutual labels:  yii
Expansionpanel
Android - Expansion panels contain creation flows and allow lightweight editing of an element.
Stars: โœญ 1,984 (+966.67%)
Mutual labels:  view
Yii2 Debug
Debug Extension for Yii 2
Stars: โœญ 179 (-3.76%)
Mutual labels:  yii
Yii2 Bootstrap
Yii 2 Bootstrap 3 Extension
Stars: โœญ 177 (-4.84%)
Mutual labels:  yii

Yii 2 Minify View Component

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

License Latest Stable Version Latest Unstable Version Total Downloads

Code Status

Scrutinizer Code Quality Code Coverage Travis CI Build Status Dependency Status

Support

GutHub issues or public chat.

Installation

The preferred way to install this extension is through composer.

Either run

composer require rmrevin/yii2-minify-view

or add

"rmrevin/yii2-minify-view": "^1.15",

to the require section of your composer.json file.

Configure

<?php

return [
	// ...
	'components' => [
		// ...
		'view' => [
			'class' => '\rmrevin\yii\minify\View',
			'enableMinify' => !YII_DEBUG,
			'concatCss' => true, // concatenate css
			'minifyCss' => true, // minificate css
			'concatJs' => true, // concatenate js
			'minifyJs' => true, // minificate js
			'minifyOutput' => true, // minificate result html page
			'webPath' => '@web', // path alias to web base
			'basePath' => '@webroot', // path alias to web base
			'minifyPath' => '@webroot/minify', // path alias to save minify result
			'jsPosition' => [ \yii\web\View::POS_END ], // positions of js files to be minified
			'forceCharset' => 'UTF-8', // charset forcibly assign, otherwise will use all of the files found charset
			'expandImports' => true, // whether to change @import on content
			'compressOptions' => ['extra' => true], // options for compress
			'excludeFiles' => [
            	'jquery.js', // exclude this file from minification
            	'app-[^.].js', // you may use regexp
            ],
            'excludeBundles' => [
            	\app\helloworld\AssetBundle::class, // exclude this bundle from minification
            ],
		]
	]
];
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].