JSMin_PHP Library Port |
[eluser]tonydewan[/eluser]
This is a really quick port I did of the JSMin-php library. Very little was changed, so I don't even really want to take credit for it. Usage is exactly what you would expect. Usage: Drop the library in your libraries folder, and load the library as usual: Code: $this->CI->load->library('jsmin'); Minify a string like so: Code: $this->jsmin->minify($string); I usually use it with file_get_contents(), like so: Code: $this->jsmin->minify( file_get_contents($file_reference, 'r') ); See the attached zip file for the full library. |
Messages In This Thread |
JSMin_PHP Library Port - by El Forum - 01-21-2009, 10:56 AM
JSMin_PHP Library Port - by El Forum - 01-21-2009, 10:59 AM
JSMin_PHP Library Port - by El Forum - 01-28-2009, 03:22 PM
JSMin_PHP Library Port - by El Forum - 01-28-2009, 04:05 PM
JSMin_PHP Library Port - by El Forum - 01-28-2009, 06:17 PM
JSMin_PHP Library Port - by El Forum - 01-28-2009, 07:32 PM
JSMin_PHP Library Port - by El Forum - 06-16-2010, 01:39 PM
JSMin_PHP Library Port - by El Forum - 06-17-2010, 07:41 AM
JSMin_PHP Library Port - by El Forum - 08-07-2011, 12:26 PM
|