Mac

Installation dependencies

brew install zlib

Compiling extensions

git clone https://github.com/viest/php-ext-excel-export
cd php-ext-excel-export
git submodule update --init
phpize && ./configure --with-php-config=/path/to/php-config --enable-reader
make && make install

Function test

make && make test

Modify php.ini

extension = xlswriter.so