7

Possible Duplicate:
Alternative for PHP_excel

A friend would like to use a Php Excel library to read/write files on formats xls and xlsx, he knows about the one called "PhpExcel" but apparently is way too big of a library for him.

I would like you to suggest if there is any other phplib you could recommend him.

Update

Please people vote this question up if you think this post is useful even when some have considered it not good enough to give it negative points (very strange since it has a lot of views and seems it has actually helped to some users). Thank you very much.

Community
  • 1
  • 1
CoderRoller
  • 1,239
  • 3
  • 22
  • 39
  • 1
    We know it Zulk, but he is on an urge and wanted to try straight to the point help and it worked =) – CoderRoller Dec 19 '11 at 22:09
  • Thanks for the post Gordon, gonna check the alternatives listed there. – CoderRoller Dec 19 '11 at 22:23
  • 1
    in a side not: the PHPExcel Library is much lighter (in bytes) if you remove PHPExcel/PDF/ , which is safe unless you use the PDF generators – Jonathan DS Apr 03 '12 at 14:29
  • Thanks jonathan, lets see how light it gets after removing what you suggest. Have a good day!. – CoderRoller Apr 22 '12 at 07:27
  • 1
    Just found https://github.com/mk-j/PHP_XLSXWriter it appears to have 90% less memory usage than phpexcel from some of my basic performance tests. – velcrow Sep 16 '13 at 15:38

3 Answers3

2

Reading only: http://sourceforge.net/projects/phpexcelreader/ 21.5kb Create your own very simply: http://www.ibm.com/developerworks/opensource/library/os-phpexcel/

2

You won't find a lightweight library that can both read and write both xls and xlsx files other than PHPExcel. However, if you want a list of the available options for working with Excel files in PHP, you can find it here.

Community
  • 1
  • 1
Mark Baker
  • 209,507
  • 32
  • 346
  • 385
0

OpenTBS can generate XLSX files using the technic of templates.

It can also read any sub XML file in the XLSX.

OpenTBS can do the same with any Ms Office (docx, xlsx, pptx) and OpenOffice documents.

Skrol29
  • 5,402
  • 1
  • 20
  • 25