Skip to content

CodeIgniter Spark version of the PHP port of the YUI CSS compressor.

License

Notifications You must be signed in to change notification settings

nyfagel/CodeIgniter-CSSMin-PHP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeIgniter CSSMin Spark

This is a CodeIgniter Spark that provides cssmin.php, a PHP implementation of YUI Compressor by Julien Lecomte.

Usage

As a spark

First, install the spark by running

$ php tools/spark install cssmin

Then, in your code:

$this->load->spark('cssmin/1.0.0');

$minified = minifycss($source);

Directly into your project

First, install it by copying libraries/cssmin.php into application/libraries and helpers/cssmin_helper.php into application/helpers.

$this->load->helper('cssmin');

$minified = minifycss($source);

References

License

Permission is hereby granted to use the PHP version under the same conditions as the YUICompressor.

Copyright

About

CodeIgniter Spark version of the PHP port of the YUI CSS compressor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.3%
  • JavaScript 4.5%
  • Shell 1.2%