Skip to content

phpsong/php-asset-compressor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library is targeted Codeigniter framwork.

USER GUIDE:

Copy the required files to your project.

Autoload config asset and library asset

Once done that. Run controller optimize. There you go, your asset is now compressed and optimized and stored in folder "service". the original assets remain intact.

Now to use the new asset in the views, you put this code in your view

asset->css_link('css/','service/css/')?>// if fail to load compressed css, it will load all the orginal css files in css folder asset->js_link('js/', 'service/js/')?>// if fail to load compressed js, it will load all the orignal js files in js folder

About

Minify asset such as javasipts, css, views and images automatically.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%