Skip to content
This repository has been archived by the owner on Jul 4, 2019. It is now read-only.

Latest commit

 

History

History
34 lines (21 loc) · 675 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 675 Bytes

HTML Minify

This class does not require a CMS like WordPress, but there is a WordPress version available.

FAQ & Changelog

To minimize maintenance, check out the info at the WordPress plugin page: http://wordpress.org/extend/plugins/wp-html-compression/

Example Usage

Inline HTML

<?php require_once 'html-minify.php'; ?>
<html>
…
</html>

External HTML

<?php

require_once 'html-minify.php';

echo file_get_contents('markup.html');

?>

License

This plugin is dual licensed under the MIT and GPL licenses.