mywheels/twig-spreadsheet-bundle

此Symfony扩展将PhpSpreadsheet集成到Symfony中,并使用Twig。

安装次数: 5,254

依赖者: 0

建议者: 0

安全: 0

星标: 1

关注者: 3

分支: 50

类型:symfony-bundle

1.2 2019-04-25 11:53 UTC

This package is not auto-updated.

Last update: 2024-10-01 15:31:16 UTC


README

Teavis CI: Build Status Teavis CI: Build Status Scrutinizer: Code Quality Code Coverage SensioLabsInsight: Code Quality

此Symfony扩展将PhpSpreadsheet集成到Symfony中,并使用Twig。

composer require mywheels/twig-spreadsheet-bundle

功能

  • 易于使用的Twig集成,包括包含支持
  • 使用现有的电子表格文件作为模板。自定义字体、颜色等的最简单方法。
  • ...

支持的输出格式

支持的输出格式直接基于PhpSpreadsheet的功能。

  • 开放文档格式/OASIS (.ods)
  • Office Open XML (.xlsx) Excel 2007及以上版本
  • BIFF 8 (.xls) Excel 97及以上版本
  • CSV
  • PDF(使用mPDF,需要单独安装)

软件要求

以下软件是使用PhpSpreadsheet/TwigSpreadsheetBundle所必需的。

此扩展所需

  • PHP 7.0或更高版本
  • Symfony 3.2或更高版本

PhpSpreadsheet所需

  • PHP扩展php_zip启用
  • PHP扩展php_xml启用
  • PHP扩展php_fileinfo启用
  • PHP扩展php_gd2启用(可选,但需要精确计算列宽)

文档

此包中的文档源存储在此包的Resources/doc/文件夹中

Resources/doc/index.rst

您可以在readthedocs.org上找到更美观的版本

https://twigspreadsheetbundle.readthedocs.org

安装

所有安装说明位于文档中。

许可

此扩展受MIT许可协议的约束。请参阅包中的完整许可协议

Resources/meta/LICENSE