Download the PHP package jelix/minify-module without Composer
On this page you can find all versions of the php package jelix/minify-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jelix/minify-module
More information about jelix/minify-module
Files in jelix/minify-module
Package minify-module
Short Description module providing a Minify features to a Jelix application.
License LGPL-2.1
Homepage http://jelix.org
Informations about the package minify-module
This is a module for Jelix, providing Minify features for HTML response objects.
Minify is a library which allow to concatenate and minify CSS and JS files. It improves performance during the load of the page. This module provides plugins to integrate it into a Jelix application.
This module is for Jelix 1.7.x and higher. See the jelix/jelix repository to see its history before Jelix 1.7.
Installation
Install it by hands like any other Jelix modules, or use Composer if you installed Jelix 1.7+ with Composer.
In your project:
Launch the configurator for your application to enable and configure the module
Then run the installer
You can use the module.
Configuring the module
In the configuration file of the application, after the installation you should have these parameters in the section:
With and you activate the "minification". You can indicate files to NOT minify in and . Keep the file name (which is bundled into Jelix) in . Wymeditor doesn't like to be concatenated with other files.
Indicated path should be
- relative to the base path of the application (without a leading /)
- or relative to the domain name (with a leading /)
Don't indicate full URL (with ...), they are automatically excluded.
Configuring Minify
The module install a copy a script in your directory. If you want to choose an other name for this script, indicate its name into the option .
The module installer create also and
into the directory of your application. These are files
to set Minify native options. Read the documentation of Minify to know options.
unit tests
Unit tests are in Testapp, in the jelix/jelix repository.