Recommend this page to a friend! |
Classes of Subin Siby | PHP HTML Compressor | README.md | Download |
|
DownloadsiteCompressorA localhost application created in PHP to compress HTML, CSS & JS components of site. Blog Post - http://subinsb.com/compress-php-website-html-css-js Features1) Compress HTML 2) Minify JavaScript & CSS files 3) Minify Inline JavaScript, jQuery & CSS in HTML pages (<script>, <style>) 4) Replace Multiple Strings like localsite.dev to mydomain.com 5) Save, Restore & Remove Configurations 6) Choose Site Location & Output folder 7) Real Time Status of site compression 8) Execute Terminal / Shell commands before or after compression 9) Can Run in any localhost server 10) No Database needed 11) Leaves alone PHP files that doesn't have HTML, so that nothing messes up the PHP code Requirements1) A localhost server that have PHP 5.3 2) Should be able to Use of ob_flush & flush() PHP commands Installation1) Download the GitHub Zip File or clone the git 2) Extract the File to your localhost destination. On Linux systems, it's /var/www/html 3) Open http://localhost/the_folder_name to see siteCompressor in action. Documentation & UsageI have published a blog post that covers all this : http://subinsb.com/compress-php-website-html-css-js |