ericzaev/htmltoopenxml
Composer 安装命令:
composer require ericzaev/htmltoopenxml
包简介
Convert HTML to OpenOfficeXML
README 文档
README
Forked from https://github.com/ffmad/HTMLtoOpenXML
A simple PHP script supporting php 8.0 that takes HTML code and converts it into open XML code. (for Docx)
INSTALLATION
composer require ericzaev/htmltoopenxml
WHAT H2OXML CAN DO
For now it can deal with :
- Paragraphs
- Bold, italic and underlined text (<strong|b|em|i|u>)
- Bullet lists
Many more can be done (the wysiwyg editor had only simple functions)
HOW TO USE IT
$parser = new HTMLtoOpenXML\Parser();
$ooXml = $parser->fromHTML($html);
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2025-02-06