With this plugin, you can minify you js's and css's via PHP providing input and output path's. This plugin uses an online service provided by Andy Chilton, http://chilts.org/
- How to setup the plugin:
include_once 'minifier.php'; $js = [ 'js/main.js' => 'js/main.min.js', // ... ]; $css = [ 'css/main.css'=> 'css/main.min.css', // ... ]; minifyJS($js); minifyCSS($css);
- Instantly compress all your JS's and CSS's
This allows you to add js and css files to a list, that you can minify at any time.
- PHP Webserver
Released under the MIT license.