Articles on category #howtos
This part will try to explain how to use the assets manager in your scripts.»
The plugin embeds a
Compressor object to merge and minify JS and CSS contents. The
result files are stored on a the "temporary assets directory" (a configuration variable)
and can be used "as-is" in HTML contents.
AssetsManager is referenced to the Packagist.
To install the plugin, just add the package to your requirements in the
file of your project:
The plugin handles any package with a type
***-assets, which will be considered as a
standard library by Composer if you don't use the plugin (and will be installed as any
other classic library package).
Below is an example of the package configuration using default values:»