cso/excel2html 问题修复 & 功能扩展

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

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

cso/excel2html

最新稳定版本:v1.1.0

Composer 安装命令:

composer require cso/excel2html

包简介

Convert Excel-sheets to their equivalent HTML-table representation

README 文档

README

License: MIT

Genrate HTML markup from an Excel worksheet that looks perfectly alike

Install

composer require cso/excel2html

Usage

$conv = HtmlConverter::fromFilepath(
    'tests/assets/test.xlsx', 
    styleOption: StyleOptions::TABLE_SIZE_FIXED | StyleOptions::WITH_COLUMN_WIDTH | StyleOptions::COLUMN_WIDTH_PROPORTIONAL, 
    worksheetName:'TestTable', 
    columns:['A', 'B', 'C', 'D', 'E', 'F'],
    scale: 1.1);

echo $conv->getHtml();

Run tests

./vendor/bin/phpunit --testdox tests

Author

👤 Sebastian Lindemeier

Show your support

Give a ⭐️ if this project helped you!

This README was generated with ❤️ by readme-md-generator

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-13