subins2000 / lobby-site-compressor

Compress sites

Repository from Github https://github.comsubins2000/lobby-site-compressorRepository from Github https://github.comsubins2000/lobby-site-compressor

Site Compressor

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

Available on Lobby Store

Features

  1. 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

Requirements

  1. Lobby

  2. Should be able to Use of ob_flush & flush() PHP commands

Installation

  1. Install Lobby

  2. Search for "Site Compressor" in Lobby Store and click Install.

Documentation & Usage

I have published a blog post that covers all this : http://subinsb.com/compress-php-website-html-css-js

About

Compress sites

License:MIT License


Languages

Language:PHP 96.9%Language:JavaScript 1.9%Language:CSS 1.2%