Score
0
Watch 21 Star 133 Fork 26

GVPviest / php-ext-xlswriterCBSD-2-Clause

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
xlsxwriter 是一个 PHP C 扩展,可用于在Excel 2007及以上版本XLSX文件中写入多个工作表的文本,数字,公式和超链接 spread retract

  • C 67.5%
  • PHP 27.4%
  • M4 3.7%
  • JavaScript 1.2%
  • Shell 0.2%
Clone or download
excel.php 424 Bytes
Copy Edit Web IDE Raw Blame History
laputa authored 2017-11-30 10:11 . add: tests
<?php
$config = ['path' => './tests/'];
$excel = new \Vtiful\Kernel\Excel($config);
$fileFd = $excel->fileName('tutorial01.xlsx');
var_dump($fileFd);
$setHeader = $fileFd->header(['Item', 'Cost']);
var_dump($setHeader);
$setData = $setHeader->data([
['Rent', 1000],
['Gas', 100],
['Food', 300],
['Gym', 50],
]);
var_dump($setData);
$output = $setData->output();
var_dump($output);
?>

Comment ( 0 )

Sign in for post a comment

C
1
https://gitee.com/viest/php-ext-xlswriter.git
git@gitee.com:viest/php-ext-xlswriter.git
viest
php-ext-xlswriter
php-ext-xlswriter
master

Help Search