PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Subin Siby   PHP HTML Compressor   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: README
Class: PHP HTML Compressor
Compress Web pages HTML, CSS and JavaScript
Author: By
Last change: Update of README.md
Date: 4 months ago
Size: 1,273 bytes
 

Contents

Class file image Download

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

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) A localhost server that have PHP 5.3

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

1) 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 & Usage

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