A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates
This plugin requires Craft CMS 5.0.0 or later.
- Install with Composer via
composer require nystudio107/craft-minify
from your project directory - Install the plugin via
./craft install/plugin minify
via the CLI -or- in the Craft Control Panel under Settings > Plugins
You can also install Minify via the Plugin Store in the Craft Control Panel.
Click here -> Minify Documentation
Brought to you by nystudio107