🚀 PHP Extension for creating and reader XLSX files.
fork from : https://github.com/viest/php-ext-xlswriter.git

王杰新 339ffec0f3 Merge pull request #28 from viest/dev 7 rokov pred
kernel 1d59aa7017 FIX(zend_mm): heap corrupted 7 rokov pred
resource 81be2e3558 add logo file 7 rokov pred
tests a53145f99f update test file 7 rokov pred
travis f86bd63069 add: tests 7 rokov pred
.gitignore d8e9bd9e82 wip: tests 7 rokov pred
.travis.yml 74a8faea12 add: tests 7 rokov pred
CREDITS e8b993e214 project init 7 rokov pred
EXPERIMENTAL e8b993e214 project init 7 rokov pred
README.md 3082e9615d DOC: update 7 rokov pred
config.m4 e851c8588b FEAT(m4): enable to with 7 rokov pred
config.w32 e4376d4b4d FEAT(w32): Add windows support 7 rokov pred
excel.php 74a8faea12 add: tests 7 rokov pred
excel_writer.c 1d59aa7017 FIX(zend_mm): heap corrupted 7 rokov pred
php_excel_writer.h 032122a957 FIX(memory): Process end, but not output file, memory leak. 7 rokov pred

README.md

php-excel

Build Status

1、Install the dependencies

Ubuntu
sudo apt-get install -y zlib1g-dev

git clone https://github.com/jmcnamara/libxlsxwriter.git && cd libxlsxwriter && make && sudo make install
Mac
brew install libxlsxwriter
Windows

Build the basic PHP build environment.

cd PHP_BUILD_PATH/deps

git clone --recursive https://github.com/jmcnamara/MSVCLibXlsxWriter.git

To build the DLL of the library open the LibXlsxWriterProj/LibXlsxWriter.sln project in MS Visual Studio and build the solution using the "Build -> Build Solution" menu item.

In the default configuration this will build an x64 debug LibXlsxWriter .lib and .dll in:

PHP_BUILD_PATH\deps\MSVCLibXlsxWriter\LibXlsxWriterProj\x64\Debug

32Bit: Copy .dll files to c:\Windows\System32 64Bit: Same thing

Add the lib path to the LIB environment variable.

2、Get the source code via Git

Unix
git clone https://github.com/viest/php-ext-excel-export.git
cd php-ext-excel-export
phpize && ./configure
make && make install

add the extension=excel_writer.so to php.ini file.

Windows

Clone the project to the ext directory in PHP, configure add --with-excel_writer parameter.

PHP compilation tutorial

3、Documents

Wiki

License

Apache License 2.0