mrstacy/html2mht 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-05-30