Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLS Support #32

Open
ryross opened this issue Apr 20, 2016 · 4 comments
Open

XLS Support #32

ryross opened this issue Apr 20, 2016 · 4 comments

Comments

@ryross
Copy link

ryross commented Apr 20, 2016

Hey there, I'm digging working with this library. We've run into a situation where we want to load XLS files as well. Obviously, it would be quite a bit of code to write a Spreadsheet Loader for XLS files. I'm wondering if you might consider adding a composer dependency for phpexel in order to automatically convert an xls file to xlsx which we can then use the xlsx parser with. Is that something you'd consider?

@ryross
Copy link
Author

ryross commented Apr 20, 2016

I think I'm going to be writing the code to convert the xls to xlsx with phpexcel for my project, and would contribute it to this project, but I don't want to go through the process of tightly integrating it if phpexcel is too big of a dependency to add. To clarify, I'm not asking you to do work, just on if you'd accept a PR with a new dependency.

@jmleroux
Copy link
Contributor

Hello @ryross ,

Including PHPExcel itself is not a problem as long as it is properly loaded only for your converter to not impede the bundle perfs.
And second, i must checks for PHPExcel requirements. I would not accept it if it implies some other requirements like new php extensions or incompatible php versions.

Anyway, thank you for your proposition. That is the open-source way of doing things ! 👍

@jmleroux
Copy link
Contributor

And just let me just some time to check with my teamates for their opinions. ;)

@jmleroux
Copy link
Contributor

After a little bit of search, i found this library: https://github.com/nuovo/spreadsheet-reader

It claims to already read XLS files (with memory warning). Maybe you do not have to rewrite existing code ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants