Download the PHP package hzx/excel-dto without Composer
On this page you can find all versions of the php package hzx/excel-dto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hzx/excel-dto
More information about hzx/excel-dto
Files in hzx/excel-dto
Download hzx/excel-dto
More information about hzx/excel-dto
Files in hzx/excel-dto
Please rate this library. Is it a good library?
Informations about the package excel-dto
hyperf excel-dto
通过注解快速导出excel表格,默认使用 xlswriter 进行表格处理
- PHP >= 7.4
- xlswriter 扩展
1、安装
2、使用
- 定义 Dto 数据对象
- @ExcelData 定义对象名称
- @ExcelProperty 定义属性
3、调用
@ExportExcel | 备注 |
---|---|
property | 对应 @ExcelData(name="test") |
path | 保存路径 |
filename | 为空自动生成,(可填写为传参参数) |
导出结果
All versions of excel-dto with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-xlswriter Version >=1.3.7
hyperf/framework Version 2.1.*
hyperf/di Version 2.1.*
ext-xlswriter Version >=1.3.7
hyperf/framework Version 2.1.*
hyperf/di Version 2.1.*
The package hzx/excel-dto contains the following files
Loading the files please wait ....