simple-excel-php icon indicating copy to clipboard operation
simple-excel-php copied to clipboard

Is there no longer support for XLS(X)?

Open johnblythe opened this issue 9 years ago • 9 comments

There are still files related to parsing and writing to XLSX, but this filetype is not included in the validXTypes definitions in SimpleExcel.php, lines 99 & 100: $this->validParserTypes = array('XML', 'CSV', 'TSV', 'HTML', 'JSON'); $this->validWriterTypes = array('XML', 'CSV', 'TSV', 'HTML', 'JSON');

Am I overlooking something or has support been dropped, put on hold, etc?

johnblythe avatar Oct 30 '14 19:10 johnblythe

Hi john, it's not included by design since support for xlsx format isn't fully ready..

faisalman avatar Nov 03 '14 15:11 faisalman

Ok, thanks for the update. Is there an ETA on that?

johnblythe avatar Nov 03 '14 15:11 johnblythe

No ETA yet, I'm open if anyone want to contribute :grin:

faisalman avatar Nov 03 '14 15:11 faisalman

May do so cause I need it! :)

Do you have requirements, ideas, etc. sketched out or listed anywhere?

johnblythe avatar Nov 03 '14 16:11 johnblythe

Any update on this?

ibuilder avatar Jan 15 '15 20:01 ibuilder

Not to my knowledge. What we ended up doing was integrating another library (doh!) to simply convert any files that were xls/xlsx into csv format and then proceed with the code we'd already written for parsing through files with SimpleExcel. We used PHPExcel for that bridge: http://phpexcel.codeplex.com/wikipage?title=Examples

Still find it funny that the file format for which the library was named isn't supported!

johnblythe avatar Jan 16 '15 03:01 johnblythe

@johnblythe that's exactly what I did as well. @faisalman Can you help us out? We're excited to only use one library!

ibuilder avatar Jan 16 '15 13:01 ibuilder

@faisalman pls, remove XLSX from heading of project. As your project does not support that format, but in google your repo in top10 of results by query like "php parse write xlsx"

mokaton avatar Aug 01 '16 22:08 mokaton

Mas bro, ini gk bisa write XLS / XLSX ya? Tapi di descriptionnya ditulis 😄

rommyarb avatar Nov 03 '19 01:11 rommyarb