2017 © Pedro Peláez
 

library html2mht

Convert Html into MHT archive

image

mrstacy/html2mht

Convert Html into MHT archive

  • Thursday, June 28, 2018
  • by mrstacy
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

HTML 2 MHT

This is a library to convert an html page into an MHT archive., (*1)

Dependencies

PHP >=7.1, (*2)

Install library via composer:

composer require mrstacy/html2mht

Usage:

$html2mht = new Html2Mht(<FULL PATH TO INPUT HTML FILE>);
$html2mht->generateMhtFile(<FULL PATH TO OUTPUT MHT FILE>);

Running Tests locally:

In project root run the following to run tests, (*3)

php vendor/phpunit/phpunit/phpunit

Known Issues:

  • This only runs against local html files (not a URL)
  • This does not include files that aren't linked directly from the main html file (IE: If an image is linked in the css file, it won't be included)

The Versions

28/06 2018

dev-master

9999999-dev

Convert Html into MHT archive

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

by Stacy Robinson

31/05 2018

1.0.0

1.0.0.0

Convert Html into MHT archive

  Sources   Download

proprietary

The Requires

  • php ^7.1

 

The Development Requires