Export excel to txt,csv,json,xml and generate parse code for C#,PHP.... Mostly use in game.
- Works on Windows,Linux and Mac OX S
- Support
.xls .xlsx and .odsformat - Batch works
- Filter by:
file name,sheet name,column,row - Support merge sheets and columns
- Export for client or server individual
- Easy to extend your own export format and parse code
Install php and make sure php in
PATHEdit
bookexcel.php, add base params, for example:$params['inputPath'] = 'excelDir'; $params['outputPath'] = 'excelExports'; $params['codeType'] = 'C#'; $params['codeSavePath'] = 'src'; $bk = new Bookexcel(); $bk->convertExcels($params);Run command:
php bookexcel.phpFor Windows, you can also put php in
runtimedir and runbookexcel.bat.
- php 5.4 or higher
Bookexcel is licensed under the MIT License. See the LICENSE file for more information.