HTML minify Plugin
Compresses HTML, inline CSS and JavaScript.
HTML minify Plugin
Compresses HTML, inline CSS and JavaScript.
This plugin compresses HTML, inline CSS and JavaScript.
Currently supported Twig features are:
Tag {% htmlcompress %} ... {% endhtmlcompress %}
Function {{ htmlcompress('some html') }}
Filter {{ content|markdown|htmlcompress }}
Installation via Command Line
php artisan plugin:install DmitryBykov.Htmlminify
HTML minify plugin for October CMS
Plugin based on https://github.com/nochso/html-compress-twig
Currently supported Twig features are:
Tag {% htmlcompress %} ... {% endhtmlcompress %}
Function {{ htmlcompress('some html') }}
Filter {{ content|markdown|htmlcompress }}
Install plugin and then use it in your templates:
{% htmlcompress %}{% endhtmlcompress %}
{{ htmlcompress('<ul> <li>') }}
{{ '<ul> <li>'|htmlcompress }}
-
maickel
Its a great plugin, but october 3.X has a error on install process
Root composer.json requires dmitrybykov/htmlminify-plugin ^1.0, found dmitrybykov/htmlminify-plugin[dev-master] but it does not match the constraint.
-
Karen Grigoryan
It doesn't work with Static Pages plugin. Do you have plans to support it in the future?
-
Felix Schürmeyer
Nice to use!
-
Abdulsalam
Thank you very much for this plugin!
-
| 1.0.3 |
Update composer.json Oct 29, 2021 |
|---|---|
| 1.0.2 |
Fixed Error When Using OctoberCMS as a SPA (e.g. easySPA plugin) Jul 24, 2019 |
| 1.0.1 |
HTML minify plugin Dec 17, 2017 |