Download the PHP package soladiem/yii2-assets-minify without Composer

On this page you can find all versions of the php package soladiem/yii2-assets-minify. 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-assets-minify

Автоматическая минификация CSS/JS файлов и HTML кода

Требования

PHP 7.0 или выше

Установка

С использованием composer.

или добавте в composer.json

Подключение

Конфигурационный файл приложения:

Возможные настройки:

Включение/отключение использования компонента. По умолчанию true

Массив имен файлов, исключенных из минификации

Массив имен приложений, в шаблонах которых не использовать минификацию файлов. В качестве имен приложений используется их id (например, смотреть в файле конфигурации main.php).

Сжимать HTML-код для шаблонов, имена которых включены в массив $excludeApps

Время в секундах для чтения каждого asset-файла. По умолчанию значение 3

Разрешить минификацию Javascript в HTML коде. По умолчанию true

Разрешить минификацию CSS в HTML коде. По умолчанию true

Вырезать Javascript комментарии. По умолчанию true

Вырезать CSS комментарии. По умолчанию true

Компиляция связанных Javascript файлов. По умолчанию true

Компиляция связанных CSS файлов. По умолчанию true

Загрузка и компиляция удаленных Javascript файлов. По умолчанию false

Загрузка и компиляция удаленных CSS файлов. По умолчанию false

Сжимать Javascript файл. По умолчанию true

Сжимать CSS файл. По умолчанию true

Разрешить сжатие HTML-кода. По умолчанию true

Настройки для сжатия HTML-кода. По умолчанию

Переместить CSS файлы в самый низ страницы. По умолчанию true

Переместить CSS файлы в низ страницы и для загрузки использовать Javascript. По умолчанию false

Не подключать Javascript файлы при использовании Pjax. По умолчанию true

Название папки для хранения минифицированного CSS файла. По умолчанию css

Название папки для хранения минифицированного Javascript файла. По умолчанию js

sitkodenis.ru


All versions of yii2-assets-minify with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version *
tedivm/jshrink Version *
natxet/cssmin Version *
mrclay/minify Version *
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 soladiem/yii2-assets-minify contains the following files

Loading the files please wait ....