Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/subins2000/siteCompressor
- Owner: subins2000
- License: mit
- Created: 2014-06-15T13:53:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-15T15:24:00.000Z (over 10 years ago)
- Last Synced: 2024-08-01T08:08:17.824Z (3 months ago)
- Language: PHP
- Size: 316 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 HTML2) 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.32) Should be able to Use of ob_flush & flush() PHP commands
Installation
============
1) Download the GitHub Zip File or clone the git2) 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