|
@@ -4,36 +4,40 @@
|
|
|
|
|
|
#### 1、Install the dependencies
|
|
|
|
|
|
+##### Ubuntu
|
|
|
+
|
|
|
```bash
|
|
|
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/jmcnamara/libxlsxwriter.git && cd libxlsxwriter && make && sudo make install
|
|
|
```
|
|
|
|
|
|
-#### 2、Get the source code via Git
|
|
|
+##### Mac
|
|
|
|
|
|
```bash
|
|
|
-git clone https://github.com/viest/php-excel-writer.git
|
|
|
-
|
|
|
-cd php-excel-writer
|
|
|
+brew install libxlsxwriter
|
|
|
+```
|
|
|
|
|
|
-phpize
|
|
|
+#### 2、Get the source code via Git
|
|
|
|
|
|
-./configure
|
|
|
+##### Unix
|
|
|
|
|
|
+```bash
|
|
|
+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
|
|
|
+
|
|
|
+>Please look forward to the next update.
|
|
|
+
|
|
|
#### 3、Documents
|
|
|
|
|
|
[Wiki](https://github.com/viest/php-excel-writer/wiki)
|
|
|
|
|
|
#### License
|
|
|
|
|
|
-Apache License 2.0
|
|
|
+Apache License 2.0
|