codebreaker/simpleconvert
Composer 安装命令:
composer require codebreaker/simpleconvert
包简介
SimpleConvert is a library written in pure PHP and providing a set of functions that allow you to export your data into EXCEL (.xls). This library providing you to download (.xls) file and view data in the browser
README 文档
README
SimpleConvert is a library written in pure PHP and providing a set of functions that allow you to export your data into EXCEL (.xls). This library providing you to download (.xls) file and view data in the browser.Installation
Use the package manager composer to install SimpleConvert.
composer require codebreaker/simpleconvert
Usage
require_once './vendor/autoload.php'; $var = (object) [ "result" => $response, # Fetch Object e.g., $response = $con->query($query); ]; $convert = new \SimpleConvert\SimpleConvert($var); # Pass Argument Must Be Object $convert->xls('filename.xls',true); # filename and download $convert->xls(); # view in browser
Author
TIRTH JAIN
GIT
License
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-29