Download the PHP package lovefc/xlsxtocsv without Composer
On this page you can find all versions of the php package lovefc/xlsxtocsv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lovefc/xlsxtocsv
More information about lovefc/xlsxtocsv
Files in lovefc/xlsxtocsv
Download lovefc/xlsxtocsv
More information about lovefc/xlsxtocsv
Files in lovefc/xlsxtocsv
Vendor lovefc
Package xlsxtocsv
Short Description 快速将xlsx文件转成csv文件
License MIT
Homepage https://github.com/lovefc/XlsxToCsv.git
Package xlsxtocsv
Short Description 快速将xlsx文件转成csv文件
License MIT
Homepage https://github.com/lovefc/XlsxToCsv.git
Please rate this library. Is it a good library?
Informations about the package xlsxtocsv
XlsxToCsv
快速把xlsx转换成csv文件
##
### 安装
本库依赖php扩展xlswriter
首先要先安装扩展xlswriter
安装完成之后,安装本库
## 使用方法
创建使用文件run.php
接着再去用命令行执行本文件
## config配置
| 参数名称 | 说明 |
| --- | --- |
| path | 要读取的xlsx存在的目录或者xlsx文件 |
| output | 转化之后的输出目录,默认为xlsx文件所在的目录(可选,绝对路径) |
| outputFile | 转化之后的输出文件,会将所有文件所有分片归到一个文件(可选,绝对路径) |
| reserves | 只保留的字段名,默认为空 |
| showLog | 输出日志,默认为true |
| writeNum | 每次写入数量,默认为5000 |
| auto | 是否自动写入csv,默认为true |
| callBack | 回调函数,拥有两个参数,可在里面处理自己的数组逻辑 |
| type | 类型转化数组 |
| autoDeleSourceFile | 转化完成之后,是否自动删除源文件,默认为false |
> type 类型转化,具体请参考这里:https://xlswriter-docs.viest.me/zh-cn/reader/set-type
## callBack的默认回调如下:
> row是一个读取的数组,sheetName是当前的工作表名称
## License
[MIT](https://opensource.org/licenses/MIT)
Copyright (c) 2023-[lovefc](http://lovefc.cn)
All versions of xlsxtocsv with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package lovefc/xlsxtocsv contains the following files
Loading the files please wait ....