Skip to content

lwward/minifier-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

PHP Minifier

A small PHP class that minifies website resources and reduces requests

  • Condense multiple JS or CSS files into single requests
  • Minify JS and CSS files on the fly
  • Cache multiple responses to avoid reprocessing

Usage

$minifier = new PHPMinifier();  
$minifier->add_file('news.css', 'css');  
  
$js_files = array('extra.js', 'news.js');  
$minifier->add_file($js_files);  
  
$minifier->load();

About

PHP class to load and minify javascript and CSS files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages