Skip to content

With this plugin, you can minify you js's and css's via PHP providing input and output path's.

License

Notifications You must be signed in to change notification settings

GonzaloTorreras/PHP-JS-CSS-Minifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP, JS and CSS Minifier

Description

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/

Download

Setup

  • How to setup the plugin:
include_once("minifier.php");

$js = array(
	"js/application.js" 	=> "js/application.min.js",
	"js/main.js" 			=> "js/main.min.js"
);
$css = array(
	"css/application.css"	=> "css/application.min.css",
	"css/main.css"			=> "css/main.min.css"
);

minifyJS($js);
minifyCSS($css);

Features

  • 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.

Requirements

  • PHP Webserver

License

Released under the MIT license.

About

With this plugin, you can minify you js's and css's via PHP providing input and output path's.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%