0

I'm migrating my app from PhpExcel to PhpSpreadsheet. Is there a replacement for setZipClass? I can't find it in the documentation. Below is the line that I'm trying to update.

PHPExcel_Settings::setZipClass(PHPExcel_Settings::ZIPARCHIVE);
  • with a quick search for `zip` in the docs I would say no: https://phpspreadsheet.readthedocs.io/en/develop/topics/migration-from-PHPExcel/#pclzip-and-ziparchive – Adam Rodriguez Nov 28 '18 at 17:41

1 Answers1

0

This is from phpspreadsheet :

Support for PclZip were dropped in favor of the more complete and modern PHP extension ZipArchive . So the following were removed: PclZip PHPExcel_Settings::setZipClass() PHPExcel_Settings::getZip

phpspreadsheet documentation

Obsidian
  • 3,719
  • 8
  • 17
  • 30
Hal Egbert
  • 86
  • 1
  • 11