Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/subins2000/siteCompressor

A PHP Site Compressor - HTML, CSS, JS
https://github.com/subins2000/siteCompressor

Last synced: 16 days ago
JSON representation

A PHP Site Compressor - HTML, CSS, JS

Awesome Lists containing this project

README

        

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