1
A while back, I extracted some of the old XOOPS
downloader-related classes into a standalone package.
At the time, I wasn't exactly sure what their original use case was. Recently, I revisited the code and finally figured it out - they were used for building and serving downloadable archive files. That led me to create a modern,
fully rewritten Composer package based on that idea.
What is it?imponeer/archive-download-builder is a PHP library for creating and downloading archive files (ZIP and TAR.GZ), with support for multiple file sources via the
Flysystem abstraction layer.
It’s a modern replacement for the old XOOPS downloader classes:
-
downloader.php -
zipdownloader.php -
tardownloader.phpKey improvements:- ✅ Rewritten with modern PHP (requires PHP 8.3+)
- ✅ MIT licensed
- ✅ Composer-compatible
- ✅ Cleaner, modular structure
- ✅ Uses
Flysystem for flexible file source handling
I hope this can be useful for you too.