Mac

安装依赖

1
brew install zlib
Copied!

编译扩展

1
git clone https://github.com/viest/php-ext-excel-export
2
3
cd php-ext-excel-export
4
5
git submodule update --init
6
7
phpize && ./configure --with-php-config=/path/to/php-config --enable-reader
8
9
make && make install
Copied!

功能测试

1
make && make test
Copied!

修改 php.ini

1
extension = xlswriter.so
Copied!
Last modified 2yr ago