🚀 PHP Extension for creating and reader XLSX files.
fork from : https://github.com/viest/php-ext-xlswriter.git
|
%!s(int64=7) %!d(string=hai) anos | |
---|---|---|
kernel | %!s(int64=7) %!d(string=hai) anos | |
tests | %!s(int64=7) %!d(string=hai) anos | |
.gitignore | %!s(int64=7) %!d(string=hai) anos | |
CREDITS | %!s(int64=7) %!d(string=hai) anos | |
EXPERIMENTAL | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
config.m4 | %!s(int64=7) %!d(string=hai) anos | |
config.w32 | %!s(int64=7) %!d(string=hai) anos | |
php_vtiful.h | %!s(int64=7) %!d(string=hai) anos | |
vtiful.c | %!s(int64=7) %!d(string=hai) anos |
PHP-Excel-Writer
sudo apt-get install -y zlib1g-dev
git clone https://github.com/jmcnamara/libxlsxwriter.git
cd libxlsxwriter
make
sudo make install
git clone https://github.com/viest/php-excel-writer.git
cd php-excel-writer
phpize
./configure
make
make install
try {
$config = [
'path' => '/vagrant/'
];
$excel = new \Vtiful\Kernel\Excel($config);
for($a = 0; $a < 200000; ++$a) {
$data[$a] = ['viest', 20];
}
$excel->fileName("test.xlsx")
->header(['name', 'age'])
->data([
['viest', 20]
])
->output();
} catch (\Exception $exception) {
//....
}
Apache License 2.0