Download the PHP package processfast/yii2-minify-view without Composer

On this page you can find all versions of the php package processfast/yii2-minify-view. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-minify-view

Yii 2 Minify View Component

Purpose of the Yii2 extension

The main feature of this component is to concatenate and compress [GZIP] JS and CSS files listed in "AssetBundle" and allow application an option to upload them to AWS S3 bucket directly from minify folder on file generation.And present copressed files from S3 bucket to browser. Concatenation and compression of all files will be done on first time loading after deployment, for all the next requests assets will only be requested from S3 bucket.Optionally console request can also be sent to have all the assets coming from S3 bucket directly. Console request must be part of continuous deployment script.

Required to work accurately

License Latest Stable Version Latest Unstable Version Total Downloads

Code Status

Scrutinizer Code Quality Code Coverage Travis CI Build Status

Support

GitHub issues

Installation

The preferred way to install this extension is through composer.

Either run

or add

to the require section of your composer.json file.

Configure

Documentation/Explanation of the Configuration Options

New Configuration Options

Dependecnies

Yii2 configuration or structure that is expected for this extension to work

Example of Asset bundles dependencies ( Required )

By giving dependencies and loading all JS/CSS files throught web application in a uniform sequence will create uniform minified JS/CSS files from extention for all pages as all pages have same JS/CSS files with same sequence. As the final name of JS/CSS file depends on the file content and file path so it is important to have configuration in this way.

This is just example of my "bundles-minify.php" which handles dependency you can create yours on the basis of your asset bundles.

This is some fix I have to done at my main.php ( Required )

These extra functions added at "\common\components\Helper" ( Required )

My AssetMinifyController ( Console Controller ) ( Optional )

This will be helpfull if you have continuous deployment, now you want to generate all the assets from a console request and compress and concate them and upload them to S3 bucket. Just need to add this controller and call "php asset-minify/init" in continuous deployment script.


All versions of yii2-minify-view with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version 2.0.*
mrclay/minify Version ~2.2
fedemotta/yii2-aws-sdk Version 2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package processfast/yii2-minify-view contains the following files

Loading the files please wait ....