cabreran / phpspreadsheet
g
v1.2.2
2024-09-25 14:10 UTC
Requires
- php: ^7.2 || ^8.0
- ext-ctype: *
- ext-dom: *
- ext-fileinfo: *
- ext-gd: *
- ext-iconv: *
- ext-libxml: *
- ext-mbstring: *
- ext-simplexml: *
- ext-xml: *
- ext-xmlreader: *
- ext-xmlwriter: *
- ext-zip: *
- ext-zlib: *
- ezyang/htmlpurifier: ^4.13
- maennchen/zipstream-php: ^2.1
- markbaker/complex: ^3.0
- markbaker/matrix: ^3.0
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/simple-cache: ^1.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: dev-master
- dompdf/dompdf: ^1.0
- friendsofphp/php-cs-fixer: ^2.18
- jpgraph/jpgraph: ^4.0
- mpdf/mpdf: ^8.0
- phpcompatibility/php-compatibility: ^9.3
- phpstan/phpstan: ^0.12.82
- phpstan/phpstan-phpunit: ^0.12.18
- phpunit/phpunit: ^8.5
- squizlabs/php_codesniffer: ^3.5
- tecnickcom/tcpdf: ^6.3
Suggests
- dompdf/dompdf: Option for rendering PDF with PDF Writer (doesn't yet support PHP8)
- jpgraph/jpgraph: Option for rendering charts, or including charts with PDF or HTML Writers
- mpdf/mpdf: Option for rendering PDF with PDF Writer
- tecnickcom/tcpdf: Option for rendering PDF with PDF Writer (doesn't yet support PHP8)
README
PhpSpreadsheet 是一个纯 PHP 编写的库,提供了一系列类,允许您读取和写入各种电子表格文件格式,例如 Excel 和 LibreOffice Calc。
文档
在官方文档中了解更多信息,包括安装说明。或者查看API 文档。
请在 StackOverflow 上提出您的支持问题,或者在 Gitter 上快速聊天。
PHPExcel 与 PhpSpreadsheet 的区别?
PhpSpreadsheet 是 PHPExcel 的下一代版本。它打破了兼容性,以显著提高代码库质量(命名空间、PSR 兼容性、使用最新 PHP 语言功能等)。
由于所有努力都转移到了 PhpSpreadsheet,PHPExcel 将不再维护。所有针对 PHPExcel 的贡献、补丁和新功能都应该针对 PhpSpreadsheet 的 master
分支。
需要迁移吗?有一个自动化工具可用于此。
许可证
PhpSpreadsheet 采用MIT许可。