SiteCompressor
A PHP Site Compressor - HTML, CSS, JS
Install / Use
/learn @subins2000/SiteCompressorREADME
siteCompressor
A localhost application created in PHP to compress HTML, CSS & JS components of site.
Blog Post - http://subinsb.com/compress-php-website-html-css-js Features
-
Compress HTML
-
Minify JavaScript & CSS files
-
Minify Inline JavaScript, jQuery & CSS in HTML pages (<script>, <style>)
-
Replace Multiple Strings like localsite.dev to mydomain.com
-
Save, Restore & Remove Configurations
-
Choose Site Location & Output folder
-
Real Time Status of site compression
-
Execute Terminal / Shell commands before or after compression
-
Can Run in any localhost server
-
No Database needed
-
Leaves alone PHP files that doesn't have HTML, so that nothing messes up the PHP code Requirements ============
-
A localhost server that have PHP 5.3
-
Should be able to Use of ob_flush & flush() PHP commands Installation ============
-
Download the GitHub Zip File or clone the git
-
Extract the File to your localhost destination. On Linux systems, it's /var/www/html
-
Open http://localhost/the_folder_name to see siteCompressor in action. Documentation & Usage ===================== I have published a blog post that covers all this : http://subinsb.com/compress-php-website-html-css-js
