Module should use the new https://github.com/PHPOffice/PhpSpreadsheet library instead of deprecated https://github.com/PHPOffice/PHPExcel.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3086234-phpspreadsheet-support-7.patch.txt | 22.32 KB | berliner |
Issue fork phpexcel-3086234
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3086234-phpspreadsheet-support-phpofficephpexcel
changes, plain diff MR !1
Comments
Comment #2
berliner commentedI have created a first patch based on the one in #3016486: PHP 7 and PhpSpreadsheet support (PHPOffice/PHPExcel deprecated). Working so far for a simple export, I didn't test for imports as I don't have a test case for that lying around.
Comment #3
berliner commentedCorrected the patch as the first other one didn't apply properly.
Comment #4
matthieu_collet commentedis it the correct path for phpspreadsheet ?
/libraries/PhpSpreadsheet/src/Bootstrap.phpComment #5
berliner commented@matthieu_collet Not sure if that works as I use composer to install the libraries which installs into
vendor, see the updated README.txt in the patch.Comment #6
matthieu_collet commentedthank you @berliner
typo in the readme : you need to delete the "s" at the end
Comment #7
berliner commentedAh, good catch, corrected in the new patch.
Comment #10
dravenkI tested in PHP 8.0 and it working for me. Thank you @berliner.
Comment #11
superfluousapostrophe commentedI know this is a fairly old issue, but I cannot seem to get the patch to apply to the current dev release via composer. Any chance you could re-roll it? The end of PHP7 is coming faster than we can get our D7 site migrated so I need to get this module working on PHP8 ASAP.
Comment #12
berliner commented@SuperfluousApostrophe This patch is for D8. Did you have a look at #3016486: PHP 7 and PhpSpreadsheet support (PHPOffice/PHPExcel deprecated) already? Maybe that works with PHP 8?
Comment #13
superfluousapostrophe commented...and that's what I get for not paying attention. Thanks for pointing me in the right direction. Sorry about that!
Comment #16
dravenkCommitted to the last dev version. Thanks.