mrstacy/html2mht
最新稳定版本:1.0.0
Composer 安装命令:
composer require mrstacy/html2mht
包简介
Convert Html into MHT archive
README 文档
README
This is a library to convert an html page into an MHT archive.
Dependencies
PHP >=7.1
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
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)
统计信息
- 总下载量: 183
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-05-30