|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 237 ||All time: 8,044 This week: 154|
This class can compress Web files removing unnecessary text.
The class can compress the files by removing unnecessary text data like spaces, tabs, line breaks and comments. Then it returns a string with the text of the files after being compressed this way.
$minify = new Minify();
$file = $minify->htmlMinify('test.html');
//$file = $minify->cssMinify("boostrap.css");
/* OR */
//$code = $minify->htmlMinify($code,"code");
//$code = $minify->cssMinify($code,"code")
/* These three functions support two arguments
First file or code,
second type default is file if you passed code so you should passed code in first argument
PHP Minify Class
Minify your code commpress the size, increased speed
- Minify HTML
- Minify CSS
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.