Browse Source

add logo file

viest 7 years ago
parent
commit
81be2e3558
2 changed files with 5 additions and 30 deletions
  1. 5 30
      README.md
  2. BIN
      resource/logo.png

+ 5 - 30
README.md

@@ -1,4 +1,4 @@
-PHP-Excel-Writer
+![php-excel](https://github.com/viest/php-excel-writer/blob/master/resource/logo.png)
 
 #### 1、Install the dependencies
 
@@ -9,8 +9,7 @@ git clone https://github.com/jmcnamara/libxlsxwriter.git
 
 cd libxlsxwriter
 
-make
-sudo make install
+make && sudo make install
 ```
 
 #### 2、Get the source code via Git
@@ -24,36 +23,12 @@ phpize
 
 ./configure
 
-make
-
-make install
+make && make install
 ```
 
-#### 3、Examples
-
-```php
-try {
-    $config = [
-        'path' => '/vagrant/'
-    ];
-
-    $excel = new \Vtiful\Kernel\Excel($config);
+#### 3、Documents
 
-    for($a = 0; $a < 200000; ++$a) {
-        $data[$a] = ['viest', 20];
-    }
-
-    $excel->fileName("test.xlsx")
-        ->header(['name', 'age'])
-        ->data([
-            ['viest', 20]
-        ])
-        ->output();
-
-} catch (\Exception $exception) {
-    //....
-}
-```
+[Wiki](https://github.com/viest/php-excel-writer/wiki)
 
 #### License
 

BIN
resource/logo.png