This page is to discuss, debate, plan the inclusion of a dedicated compression library in Tiki.
tiki-check.php reports that "The ZipArchive class is needed for features such as XML Wiki Import/Export and PluginArchiveBuilder." And it seems to be needed for H5P.
Yet, why do we have it as a requirement?
We currently have https://sourceforge.net/p/tikiwiki/code/HEAD/tree/trunk/vendor_extra/pclzip/pclzip.lib.php which
- hasn't been updated in years
- is not yet managed by Composer. But available: https://packagist.org/packages/pclzip/pclzip
Perhaps we should pick a zip library and use everywhere in Tiki (at least when ZipArchive is not available)
Some notable ones:
- https://packagist.org/packages/splitbrain/php-archive By the author of DokuWiki
- https://packagist.org/packages/alchemy/zippy by the same team that makes Media-Alchemyst
See also: Exif