🚀 PHP Extension for creating and reader XLSX files.
fork from : https://github.com/viest/php-ext-xlswriter.git
|
7 years ago | |
---|---|---|
kernel | 7 years ago | |
resource | 7 years ago | |
tests | 7 years ago | |
travis | 7 years ago | |
.gitignore | 7 years ago | |
.travis.yml | 7 years ago | |
CREDITS | 7 years ago | |
EXPERIMENTAL | 7 years ago | |
README.md | 7 years ago | |
config.m4 | 7 years ago | |
config.w32 | 7 years ago | |
excel.php | 7 years ago | |
excel_writer.c | 7 years ago | |
php_excel_writer.h | 7 years ago |
sudo apt-get install -y zlib1g-dev
git clone https://github.com/jmcnamara/libxlsxwriter.git && cd libxlsxwriter && make && sudo make install
brew install libxlsxwriter
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.
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.
Clone the project to the ext directory in PHP, configure
add --with-excel_writer
parameter.
Apache License 2.0