Which is the best library to parse Excel files in PHP? [duplicate]

送分小仙女□ 提交于 2019-12-06 21:06:35

问题


Possible Duplicate:
Alternative for PHP_excel

I've found a number of PHP libraries for reading and parsing Excel files, such as PHPExcel and PHP-Excel-Reader. Are there any other ones, and which is the best (i.e. the most robust, most update-to-date, etc.)?


回答1:


Definition of which is the best is very subjective... I have a vested interest when I say that PHPExcel is the best, because I'm the main developer. However:

  • very few of the packages listed in this thread are still actively supported
  • work only with one or other format of Excel files (BIFF .xls or Office Open XML .xlsx)
  • can only read, or only write
  • or require third-party plug-ins, or specific operating platforms

Best is a very subjective term, and it really depends on your exact requirements including

  • whether you are able to use (for example) COM to interact directly with MS Excel on the server
  • or need to both read and write Excel
  • or need to work with xls, or xlsx or both formats
  • or care about ongoing development/support


来源:https://stackoverflow.com/questions/5805556/which-is-the-best-library-to-parse-excel-files-in-php

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!