Loading...
 
Skip to main content

History: ZIP

Source of version: 13 (current)

Copy to clipboard
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)).

Also discussed for https://gitlab.com/tikiwiki/tiki/-/merge_requests/5436

Yet, why do we have it as a requirement?

We currently have pclzip/pclzip version 2.8.2 in https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.lock which
* hasn't been updated in over a decade
* has been forked a few times, including https://github.com/chamilo/pclzip

Perhaps we should pick a zip library and use everywhere in Tiki (at least when ZipArchive is not available)

Options:
[https://packagist.org/search/?q=zip&orderBys%5B0%5D%5Bsort%5D=downloads&orderBys%5B0%5D%5Border%5D=desc]

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 [https://github.com/alchemy-fr/Media-Alchemyst|Media-Alchemyst]
* http://wapmorgan.github.io/UnifiedArchive/

See also: ((Exif))
Show PHP error messages